// No SSR — this is a client-rendered PWA. // Auth redirect is handled in +layout.svelte via the onAuthStateChange store, // NOT here. Using getSession() in a load function races with Supabase's async // localStorage initialisation and can return null for a valid session. export const ssr = false; export function load() { return {}; }