Skip to content

Commit

Permalink
Update user profile items
Browse files Browse the repository at this point in the history
  • Loading branch information
bombies committed Oct 25, 2023
1 parent 486752c commit f20c34c
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions src/app/(site)/components/UserProfile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ import {signOut, useSession} from "next-auth/react";
import DashboardIcon from "@/app/(site)/components/icons/DashboardIcon";
import SettingsIcon from "@/app/(site)/components/icons/SettingsIcon";
import useMemberInfo from "@/app/(site)/hooks/useMemberInfo";


import Link from "next/link";

const UserProfile: FC = () => {
const member = useMemberInfo()
Expand Down Expand Up @@ -53,14 +52,20 @@ const UserProfile: FC = () => {
<DropdownItem
key="dashboard"
startContent={<DashboardIcon width={16}/>}
isReadOnly
>
Dashboard
<Link href="/dashboard">
Dashboard
</Link>
</DropdownItem>
<DropdownItem
key="settings"
startContent={<SettingsIcon width={16}/>}
isReadOnly
>
Settings
<Link href="/settings">
Settings
</Link>
</DropdownItem>
</DropdownSection>
<DropdownItem color="danger" key="log_out">
Expand Down

0 comments on commit f20c34c

Please sign in to comment.