ohh thats weird.
i dont get any error at all in my terminal in vsc it just says this:
ompiled with warnings.
src/App.jsx
Line 6:8: 'TokenPrice' is defined but never used no-unused-vars
Line 7:8: 'ERC20Balance' is defined but never used no-unused-vars
Line 8:8: 'ERC20Transfers' is defined but never used no-unused-vars
Line 9:8: 'DEX' is defined but never used no-unused-vars
Line 10:8: 'NFTBalance' is defined but never used no-unused-vars
Line 11:8: 'Wallet' is defined but never used no-unused-vars
src/components/Chains/Chains.jsx
Line 4:10: 'AvaxLogo' is defined but never used no-unused-vars
Line 4:20: 'PolygonLogo' is defined but never used no-unused-vars
Line 4:33: 'BSCLogo' is defined but never used no-unused-vars
Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.```
but in the browser console i get this error in both the working and not working version
index.js:1 Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of DomWrapper which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node
at div
at DomWrapper (http://localhost:3000/static/js/vendors~main.chunk.js:285616:94)
at http://localhost:3000/static/js/vendors~main.chunk.js:285331:32
at Mask (http://localhost:3000/static/js/vendors~main.chunk.js:275253:25)
at div
at Dialog (http://localhost:3000/static/js/vendors~main.chunk.js:275311:32)
at http://localhost:3000/static/js/vendors~main.chunk.js:317072:25
at PortalWrapper (http://localhost:3000/static/js/vendors~main.chunk.js:317185:94)
at DialogWrap (http://localhost:3000/static/js/vendors~main.chunk.js:275529:23)
at Modal (http://localhost:3000/static/js/vendors~main.chunk.js:120182:75)
at Account (http://localhost:3000/static/js/main.chunk.js:447:71)
at div
at div
at Router (http://localhost:3000/static/js/vendors~main.chunk.js:358151:30)
at BrowserRouter (http://localhost:3000/static/js/vendors~main.chunk.js:357772:35)
at div
at App (http://localhost:3000/static/js/main.chunk.js:171:5)
at MoralisProvider (http://localhost:3000/static/js/vendors~main.chunk.js:355951:21)
at Application