Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Commit

Permalink
Reset ens on redux state when changing accounts (#2340)
Browse files Browse the repository at this point in the history
Co-authored-by: Leandro <[email protected]>
  • Loading branch information
alfetopito and Leandro committed Jan 28, 2022
1 parent b047e2e commit 519ee51
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/custom/pages/Claim/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ export default function Claim() {
const resetClaimState = useCallback(() => {
setClaimStatus(ClaimStatus.DEFAULT)
setActiveClaimAccount('')
setActiveClaimAccountENS('')
setSelected([])
}, [setActiveClaimAccount, setClaimStatus, setSelected])

Expand Down

0 comments on commit 519ee51

Please sign in to comment.