fix header and redirect home

This commit is contained in:
Philipinho
2024-06-04 21:48:01 +01:00
parent dfb34fd90d
commit 4501a40c29
2 changed files with 6 additions and 2 deletions

View File

@ -20,6 +20,10 @@ export default function TopMenu() {
const user = currentUser.user;
const workspace = currentUser.workspace;
if (!user || !workspace) {
return <></>;
}
return (
<Menu width={250} position="bottom-end" withArrow shadow={"lg"}>
<Menu.Target>