zen: update header

This commit is contained in:
Frank
2026-03-11 00:04:54 -04:00
parent 604ab1bde1
commit f89696509e
2 changed files with 7 additions and 12 deletions

View File

@@ -24,8 +24,7 @@ import { LocaleLinks } from "~/component/locale-links"
const checkLoggedIn = query(async () => {
"use server"
const workspaceID = await getLastSeenWorkspaceID().catch(() => {})
if (workspaceID) throw redirect(`/workspace/${workspaceID}`)
return await getLastSeenWorkspaceID().catch(() => {})
}, "checkLoggedIn.get")
export default function Home() {