diff --git a/apps/app/components/workspace/sidebar-dropdown.tsx b/apps/app/components/workspace/sidebar-dropdown.tsx
index f7392f1d2..5a98ad12e 100644
--- a/apps/app/components/workspace/sidebar-dropdown.tsx
+++ b/apps/app/components/workspace/sidebar-dropdown.tsx
@@ -3,7 +3,7 @@ import { Menu, Transition } from "@headlessui/react";
import { useRouter } from "next/router";
import Image from "next/image";
import Link from "next/link";
-import { ChevronDownIcon, PlusIcon } from "@heroicons/react/24/outline";
+import { CheckIcon, ChevronDownIcon, PlusIcon } from "@heroicons/react/24/outline";
// hooks
import useUser from "hooks/use-user";
import useTheme from "hooks/use-theme";
@@ -20,13 +20,17 @@ import { IWorkspace } from "types";
// Static Data
const userLinks = (workspaceSlug: string) => [
{
- name: "My Profile",
- href: `/${workspaceSlug}/me/profile`,
+ name: "Workspace Settings",
+ href: `/${workspaceSlug}/settings`,
},
{
name: "Workspace Invites",
href: "/invitations",
},
+ {
+ name: "My Profile",
+ href: `/${workspaceSlug}/me/profile`,
+ },
];
export const WorkspaceSidebarDropdown = () => {
@@ -116,28 +120,29 @@ export const WorkspaceSidebarDropdown = () => {
leaveFrom="transform opacity-100 scale-100"
leaveTo="transform opacity-0 scale-95"
>
-
-
-
-
- {user?.email}
-
-
-
- {workspaces ? (
- <>
- {workspaces.length > 0 ? (
- workspaces.map((workspace) => (
-
- {({ active }) => (
-
+
+
+ Sign out
+