Skip to content

The open source coding agent.

TypeScript

wip: cloud

Dax Raada6e09363b8ad
diff --git a/cloud/app/src/entry-server.tsx b/cloud/app/src/entry-server.tsx
index d339031e52d..41fc8fc8b5d 100644
--- a/cloud/app/src/entry-server.tsx
+++ b/cloud/app/src/entry-server.tsx
@@ -20,4 +20,6 @@ export default createHandler(() => (
</html>
)}
/>
-))
+), {
+ mode: "async",
+})
diff --git a/cloud/app/src/routes/workspace.tsx b/cloud/app/src/routes/workspace.tsx
index ddb98f4c52c..c8c05ef4379 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) {
</a>
</div>
<div data-slot="header-actions">
- {userInfo() &&
- <span>{userInfo()!.user.email}</span>
- }
+ <span>{userInfo()?.user.email}</span>
<form action={logout} method="post">
<button type="submit" formaction={logout}>Logout</button>
</form>