summaryrefslogtreecommitdiffhomepage
path: root/cloud
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-09-01 11:47:46 -0400
committerDax Raad <[email protected]>2025-09-01 11:47:58 -0400
commita6e09363b8ad628e1f4fd230994a40fef3aa63d5 (patch)
tree8a2ac896d4e775e3444fffda341eb54328811b88 /cloud
parent49629bb58e8d8b0aa4d1ad358aad8d57b5c51d37 (diff)
downloadopencode-a6e09363b8ad628e1f4fd230994a40fef3aa63d5.tar.gz
opencode-a6e09363b8ad628e1f4fd230994a40fef3aa63d5.zip
wip: cloud
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>