diff --git a/src/app/auth/layout.tsx b/src/app/auth/layout.tsx index 58af7310..2f0728ea 100644 --- a/src/app/auth/layout.tsx +++ b/src/app/auth/layout.tsx @@ -21,7 +21,7 @@ export default async function AuthLayout({ children }: AuthLayoutProps) { <> {user && ( -
+
diff --git a/src/components/ProfileIcon.tsx b/src/components/ProfileIcon.tsx index 131ab123..1d2e74cc 100644 --- a/src/components/ProfileIcon.tsx +++ b/src/components/ProfileIcon.tsx @@ -57,6 +57,7 @@ export default function ProfileIcon() { }) .then(() => { router.push("/auth/login"); + router.refresh(); }); }