Skip to content

[Bug]: Move ToastContainer and Toasts to Home component #25035

@darkwing

Description

@darkwing

Describe the bug

At present, since the <ToastContainer> and <Toast>s are in routes.component.js, these toasts (like the Privacy Policy) can display on top of confirmations. Instead, we should move these to home.component.js so that they only display on the wallet screen.

Expected behavior

No response

Screenshots/Recordings

No response

Steps to reproduce

  1. Hardcode a toast in routes.component.js to display
  2. Open a confirmation
  3. See the toast

Error messages or log output

No response

Version

develop

Build type

None

Browser

Chrome

Operating system

MacOS

Hardware wallet

No response

Additional context

No response

Severity

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Sev3-lowLow severity; minimal to no impact upon usersstaleissues and PRs marked as staleteam-core-extension-uxCore Extension UX teamtype-bugSomething isn't working

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions