Fix Ga Perlu Akses Login Saat Ke Semua Fitur Dashboard

This commit is contained in:
2026-03-25 15:35:20 +08:00
parent 7c8012d277
commit 5c09e7a0be
6 changed files with 18 additions and 45 deletions

View File

@@ -41,10 +41,6 @@ import { authStore } from "../../store/auth";
export const Route = createFileRoute("/profile/")({
component: Profile,
beforeLoad: protectedRouteMiddleware,
onEnter({ context }) {
authStore.user = context?.user as any;
authStore.session = context?.session as any;
},
});
function Profile() {