Hey guys,
I’m building my dApp with the react-moralis package & have just installed the 1inch plugin to my Moralis server. I’m following the example in npm react-moralis to try & get all supported tokens by 1inch but was hit with this error:
'useOneInchTokens' is not defined
If the examples in the official npm package page doesn’t work then what is the correct way to get all supported tokens with react-moralis?
Version of npm packages being used:
"moralis": "^0.0.132"
"react": "^17.0.2"
"react-moralis": "^0.2.8"