We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e94588a commit 812a40cCopy full SHA for 812a40c
src/pages/ActivateAccount.tsx
@@ -30,8 +30,10 @@ export default function ActivateAccount() {
30
}
31
};
32
33
+ // Only run once when component mounts with a token
34
performActivation();
- }, [token, activateAccount])
35
+ // eslint-disable-next-line react-hooks/exhaustive-deps
36
+ }, [token]) // Removed activateAccount from dependencies
37
38
return (
39
<div className="flex min-h-screen items-center justify-center p-4">
0 commit comments