Skip to content

Commit

Permalink
Added setLastTxnDataHash3 reset after chain switch
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewlee348 authored and SamueleA committed Nov 7, 2024
1 parent 3b40eda commit b140c59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/next/src/app/components/Connected.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ export const Connected = () => {
useEffect(() => {
setLastTxnDataHash(undefined)
setLastTxnDataHash2(undefined)
setLastTxnDataHash3(undefined)
setIsMessageValid(undefined)
}, [chainId])

Expand Down

0 comments on commit b140c59

Please sign in to comment.