How can i use react-redux and Web3Provider both work together?
Closed this issue · 1 comments
kenneth commented
React-Redux use Provider
and i want use Web3Provider
How can i use react-redux and Web3Provider both work together?
coopermaruyama commented
You can literally just nest them like this in the root of your app:
const MyApp = () => (
<Provider store={store}>
<Web3Provider>
<Stuff />
</Web3Provider>
</Provider>
)