diff options
Diffstat (limited to 'cloud/app/src/routes')
| -rw-r--r-- | cloud/app/src/routes/workspace.tsx | 4 |
1 files changed, 1 insertions, 3 deletions
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> |
