Skip to content

fix(hub): loading state on /stake page when clicking connect wallet #1028

@JulesFiliot

Description

@JulesFiliot

When clicking "connect wallet" on the /stake page, the loading states of the page trigger and the button's label changes to "Stake STT". When closing the connect wallet dialog without connecting a wallet the loading states are still active.

Image

The loading states should stop if no wallet is connected. Imo it would also be best to not show loading states as soon as we open the connect wallet dialog, but only start displaying them when the user initiates the wallet connection (e.g. clicks on Metamask in the screenshot above).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions