Skip to content

Commit

Permalink
button
Browse files Browse the repository at this point in the history
  • Loading branch information
thatguyinabeanie committed Nov 9, 2024
1 parent 7b91438 commit 8c9593a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions apps/nextjs/src/components/navbar/navbar-right-menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ import { Icon } from "@iconify/react/dist/iconify.js";

import { getAccountMe } from "~/app/server-actions/accounts/actions";
import UserMenu from "./user-menu/user-menu";
import { Button } from "@battle-stadium/ui";

export default async function RightMenu() {
export default async function RightMenu () {
const clerkAuth = await auth();
const me = (await getAccountMe())?.data;

Expand All @@ -16,7 +17,7 @@ export default async function RightMenu() {
<Icon
className="text-default-500"
icon="solar:magnifer-linear"
width={22}
width={ 22 }
/>
</Button>

Expand All @@ -25,12 +26,12 @@ export default async function RightMenu() {
<Icon
className="text-default-500"
icon="solar:settings-linear"
width={24}
width={ 24 }
/>
</Button>
</Link>

<UserMenu isSignedIn={!!clerkAuth.sessionId} me={me} />
<UserMenu isSignedIn={ !!clerkAuth.sessionId } me={ me } />
</div>
);
}

0 comments on commit 8c9593a

Please sign in to comment.