mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-24 17:44:49 +00:00
zen: update header
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user