Skip to content

Adding second vault config with different chain id causes error in loading vaults #18

@elenamik

Description

@elenamik

Adding an additional config with chainId = 1 ( in addition to 31337) throws an error.

It is caused by the configs not being filtered correctly on fetch because if not wallet is connected, chainId=undefined. Need some way to set default chain id, either in wagmi config or export it manually and use it in useAccounts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions