reown-com / web-examples

Wallet and dapp examples implementing WalletConnect v2
https://walletconnect.com
Apache License 2.0
361 stars 322 forks source link

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

Open dianasavvatina opened 8 hours ago

dianasavvatina commented 8 hours ago

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