/** biome-ignore-all lint/suspicious/noExplicitAny: { // Fetch session but don't block navigation try { const res = await fetch("/api/session", { method: "GET", credentials: "include", }); if (res.ok) { const { data } = await res.json(); authStore.user = data?.user; authStore.session = data; } } catch { // Ignore errors, allow public access } return {}; }, }); function RootComponent() { return ; }