summaryrefslogtreecommitdiffhomepage
path: root/cloud
diff options
context:
space:
mode:
Diffstat (limited to 'cloud')
-rw-r--r--cloud/app/src/entry-server.tsx4
-rw-r--r--cloud/app/src/routes/workspace.tsx4
2 files changed, 4 insertions, 4 deletions
diff --git a/cloud/app/src/entry-server.tsx b/cloud/app/src/entry-server.tsx
index d339031e5..41fc8fc8b 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 ddb98f4c5..c8c05ef43 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>