diff --git a/src/features/NotLoggedOnly.tsx b/src/features/NotLoggedOnly.tsx index 8bcdd340..2a9744dd 100644 --- a/src/features/NotLoggedOnly.tsx +++ b/src/features/NotLoggedOnly.tsx @@ -31,7 +31,7 @@ const NotLoggedOnly = ({ if (isLoading) { return ; } - if (user && redirect) { + if (user && redirect && !isPublicUser) { Sentry.setUser({ id: user?.id ?? 0, email: user?.email ?? "unknown",