Skip to content

feat: Implement a global Toast Notification system #54

@AlAfiz

Description

@AlAfiz

Description

When a user clicks "Swap" or copies an address, they need clear, animated feedback that pops up and disappears automatically.

Requirements

  • Install a notification library like react-hot-toast or sonner.
  • Set up the global Toaster provider in the main app layout.
  • Update the "Copy Wallet Address" button (from our previous issue) to trigger a green success toast instead of just changing the icon.
  • Update the "Swap" button to trigger a loading toast that resolves to a success toast after a 2-second setTimeout.

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