react-celo icon indicating copy to clipboard operation
react-celo copied to clipboard

remove network prop on CeloProvider

Open aaronmgdr opened this issue 2 years ago • 0 comments

Rather than passing in an entire Network Object instead just pass in the chainID of the default network (alternatively the network name)

Currently when network is passed the object isn't actually used instead it finds a network in the networks array which matches the name. This is confusing as someone could pass in a network with a different RPC url and then have it not actually used

aaronmgdr avatar Jun 01 '22 16:06 aaronmgdr