Skip to content

No info toast shown when clearing networks - if no custom network is selected #775

Description

@DalderupMaurice

Expected Behavior

When you clear custom networks it should show an info toast

Current Behavior

It does not show a toast, only when the custom network is selected

Steps to Reproduce

  1. Add a random network
  2. Switch to MainNet/TestNet
  3. Click clear custom networks
  4. Notice that no toast was shown but networks were cleared

Possible Solution

Show the toast

Additional context

/

Your Environment

  • nOS Client version used: 0.4.6
  • Environment name and version
    • Node version: LTS
    • NPM version: LTS
    • Yarn version: LTS
  • Operating System and version (desktop or mobile):

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcommunity issueOpen for community contributions

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions