We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0411813 commit d69c06aCopy full SHA for d69c06a
packages/typink/src/hooks/useWatchContractEvent.ts
@@ -43,7 +43,7 @@ export function useWatchContractEvent<
43
// @ts-ignore
44
onNewEvent(contractEvents);
45
},
46
- useDeepDeps([contract, event, onNewEvent]),
+ useDeepDeps([contract, event, onNewEvent, enabled]),
47
),
48
enabled,
49
);
0 commit comments