feat: complete MVP foundation auth and dashboard
This commit is contained in:
5
lib/route-guards.ts
Normal file
5
lib/route-guards.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import type { MockSession } from "@/lib/mock-auth";
|
||||
|
||||
export function getDashboardRedirectPath(session: MockSession | null) {
|
||||
return session ? null : "/";
|
||||
}
|
||||
Reference in New Issue
Block a user