Skip to content

Copy Markdown button initially shows 2 toast notification #514

@villAsh

Description

@villAsh

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:

  1. Go to any page with copy markdown option.
  2. Click on Copy Markdown button.
  3. See the 2 notification.
  4. (Optional) you can reload the page and follow the same steps as well.
Image

The key issue is that the fallback toast is triggered in the same promise chain, even when the fetch and clipboard operations succeed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions