Skip to content

Commit

Permalink
Fix previous nonces
Browse files Browse the repository at this point in the history
  • Loading branch information
katspaugh committed Aug 8, 2023
1 parent 7cbe297 commit d28f914
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/usePreviousNonces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const usePreviousNonces = () => {
const previousNonces = useMemo(() => {
return _getUniqueQueuedTxs(page)
.map((tx) => (isMultisigExecutionInfo(tx.executionInfo) ? tx.executionInfo.nonce : undefined))
.filter((nonce): nonce is number => !!nonce)
.filter((nonce): nonce is number => nonce !== undefined)
}, [page])

return previousNonces
Expand Down

0 comments on commit d28f914

Please sign in to comment.