web-examples icon indicating copy to clipboard operation
web-examples copied to clipboard

react-wallet-v2: build warning for missing 'bridge' in MultibridgeRequestModal.tsx

Open dianasavvatina opened this issue 1 year ago • 1 comments

Used version:

* 32f9df4 (HEAD -> 1, reown/main, origin/main, origin/HEAD) fix:remove duplicate chain declaration (#711)

Errors on build:

➜  react-wallet-v2 git: yarn build
yarn run v1.22.19
$ next build
info  - Loaded env from /Users/diana/src/web-examples/advanced/wallets/react-wallet-v2/.env.local
info  - Checking validity of types

./src/components/MultibridgeRequestModal.tsx
110:6  Warning: React Hook useCallback has a missing dependency: 'bridge'. Either include it or remove the dependency array.  react-hooks/exhaustive-deps

./src/components/RequestModal.tsx
76:6  Warning: React Hook useMemo has a missing dependency: 'disableThreatDetection'. Either include it or remove the dependency array.  react-hooks/exhaustive-deps

dianasavvatina avatar Sep 19 '24 11:09 dianasavvatina