diff --git a/rsconcept/frontend/src/pages/RegisterPage/RegisterPage.tsx b/rsconcept/frontend/src/pages/RegisterPage/RegisterPage.tsx index 6ab372dd..3570eb29 100644 --- a/rsconcept/frontend/src/pages/RegisterPage/RegisterPage.tsx +++ b/rsconcept/frontend/src/pages/RegisterPage/RegisterPage.tsx @@ -4,9 +4,9 @@ import ExpectedAnonymous from '@/components/ExpectedAnonymous'; import FormSignup from './FormSignup'; export function RegisterPage() { - const { user } = useAuthSuspense(); + const { isAnonymous } = useAuthSuspense(); - if (user) { + if (!isAnonymous) { return ; } else { return ;