1Hive / connect

Aragon Connect − seamlessly integrate DAO functionality into web and node.js apps.

Home Page:https://aragon.org/connect

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Connect options should warn us about chainIds formated as strings

sembrestels opened this issue · comments

commented

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.