The issue:
initially when you press the copy markdown button it shows 2 toast notification instead of 1.
1 is the actual toast notification and 2nd one is the fallback.
Steps to reproduce:
- Go to any page with copy markdown option.
- Click on Copy Markdown button.
- See the 2 notification.
- (Optional) you can reload the page and follow the same steps as well.
The key issue is that the fallback toast is triggered in the same promise chain, even when the fetch and clipboard operations succeed