Fix/eager connection (#923)
* fix: eager connect * chore: add comment for eslint disable
This commit is contained in:
parent
7e715d08ec
commit
5000474e0a
@ -63,7 +63,10 @@ export const Web3Content = ({
|
|||||||
if (connector?.connectEagerly && !('Cypress' in window)) {
|
if (connector?.connectEagerly && !('Cypress' in window)) {
|
||||||
connector.connectEagerly();
|
connector.connectEagerly();
|
||||||
}
|
}
|
||||||
}, [connector]);
|
// wallet connect doesnt handle connectEagerly being called when connector is also in the
|
||||||
|
// deps array.
|
||||||
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||||
|
}, []);
|
||||||
|
|
||||||
if (error) {
|
if (error) {
|
||||||
return (
|
return (
|
||||||
|
Loading…
Reference in New Issue
Block a user