diff options
| author | Dax Raad <[email protected]> | 2025-09-01 11:47:46 -0400 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-09-01 11:47:58 -0400 |
| commit | a6e09363b8ad628e1f4fd230994a40fef3aa63d5 (patch) | |
| tree | 8a2ac896d4e775e3444fffda341eb54328811b88 /cloud | |
| parent | 49629bb58e8d8b0aa4d1ad358aad8d57b5c51d37 (diff) | |
| download | opencode-a6e09363b8ad628e1f4fd230994a40fef3aa63d5.tar.gz opencode-a6e09363b8ad628e1f4fd230994a40fef3aa63d5.zip | |
wip: cloud
Diffstat (limited to 'cloud')
| -rw-r--r-- | cloud/app/src/entry-server.tsx | 4 | ||||
| -rw-r--r-- | cloud/app/src/routes/workspace.tsx | 4 |
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> |
