mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-24 03:04:21 +01:00
wip: cloud
This commit is contained in:
@@ -20,4 +20,6 @@ export default createHandler(() => (
|
||||
</html>
|
||||
)}
|
||||
/>
|
||||
))
|
||||
), {
|
||||
mode: "async",
|
||||
})
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user