Skip to content

Commit

Permalink
fix(passport): invoke setMaskEmailCallback only if maskEmail is c…
Browse files Browse the repository at this point in the history
…hanged (#2785)
  • Loading branch information
szkl authored Dec 11, 2023
1 parent 7ad4abd commit 34311f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/passport/app/routes/authorize.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ export default function Authorize() {
const [maskEmail, setMaskEmail] = useState<boolean>(false)
useEffect(() => {
setMaskEmailCallback()
})
}, [maskEmail])

const [loadingMaskEmail, setLoadingMaskEmail] = useState<boolean>(false)

Expand Down

0 comments on commit 34311f6

Please sign in to comment.