Working through the building a GSN dapp guide and when I run npm start after creating the contract and funding the relayer I get the following error in the browser:
TypeError: Object(...) is not a function
App
src/App.js:8
5 |
6 | function App() {
7 | // get GSN web3>
8 | const context = useWeb3Network(PROVIDER_URL, {
9 | gsn: { dev: true }
10 | });
11 |
Windows Subsystem for Linux
node --version
v10.16.0
npm --version
6.11.2
openzeppelin --version
2.5.3