Skip to content

Connect options should warn us about chainIds formated as strings #18

@sembrestels

Description

@sembrestels

Right now Connect only accepts:

<Connect
    location={orgAddress}
    connector="thegraph"
    options={{network: "xdai"}}
>

and:

<Connect
    location={orgAddress}
    connector="thegraph"
    options={{network: 100}}
>

but it doesn't work when:

<Connect
    location={orgAddress}
    connector="thegraph"
    options={{network: "100"}}
>

It should warn when a number is passed as a string, because otherwise it is not clear for the dev why the DAO is not loading.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions