Skip to content

Hide network components on nav When the page does not contain Ethereum content #180

@0xferit

Description

@0xferit

Example pages:

  • FAQ
  • About

Things to track for this logic:

  • chainId
  • metamaskChainId
  • isProviderDetected

Problem: once chainId is set, it needs to be reset to make the logic work. However getGraphMetadata is doing longpolling. Needs a bit of refactor.

Expected behavior: visit FAQ directly.

To reproduce the bug: visit frontpage then navigate to FAQ. You will see that network components are displayed in the navigation bar.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions