Skip to content

Avoid double-initialization on page reload #2093

@kronosapiens

Description

@kronosapiens

I'm hearing from @rsodre that the Connector is being duplicated several times due to react hooks being called somewhat randomly. This duplication of the Connector is creating issues.

We should check to see if starknet_controller already exists in local storage, and no-op if so.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions