Fix protocolId missing as dependency (#2396)
This commit is contained in:
parent
b96b5d0c89
commit
0781156305
@ -118,7 +118,7 @@ export function useWalletLogs (protocol, debug) {
|
||||
}, FAST_POLL_INTERVAL)
|
||||
|
||||
return () => clearInterval(interval)
|
||||
}, [fetchLogs, called, noFetch, debug])
|
||||
}, [fetchLogs, protocolId, called, noFetch, debug])
|
||||
|
||||
const loadMore = useCallback(async () => {
|
||||
const { data } = await fetchLogs({ variables: { protocolId, cursor, debug } })
|
||||
|
Loading…
x
Reference in New Issue
Block a user