diff --git a/cloud/app/src/entry-server.tsx b/cloud/app/src/entry-server.tsx index d339031e..41fc8fc8 100644 --- a/cloud/app/src/entry-server.tsx +++ b/cloud/app/src/entry-server.tsx @@ -20,4 +20,6 @@ export default createHandler(() => ( )} /> -)) +), { + mode: "async", +}) diff --git a/cloud/app/src/routes/workspace.tsx b/cloud/app/src/routes/workspace.tsx index ddb98f4c..c8c05ef4 100644 --- a/cloud/app/src/routes/workspace.tsx +++ b/cloud/app/src/routes/workspace.tsx @@ -42,9 +42,7 @@ export default function WorkspaceLayout(props: RouteSectionProps) {
- {userInfo() && - {userInfo()!.user.email} - } + {userInfo()?.user.email}