From 87117232c38f4dd14d63edc3f88b993fa809ba70 Mon Sep 17 00:00:00 2001 From: sphinxrave <62570796+sphinxrave@users.noreply.github.com> Date: Sun, 25 Aug 2024 05:56:43 -0700 Subject: [PATCH] reskin user menu a bit --- .../header/userMenu/components/UserMenu.tsx | 25 ++++++++----------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/packages/react/src/components/header/userMenu/components/UserMenu.tsx b/packages/react/src/components/header/userMenu/components/UserMenu.tsx index 609500fcc..049da2f61 100644 --- a/packages/react/src/components/header/userMenu/components/UserMenu.tsx +++ b/packages/react/src/components/header/userMenu/components/UserMenu.tsx @@ -10,7 +10,6 @@ import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, - DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, } from "@/shadcn/ui/dropdown-menu"; @@ -63,20 +62,16 @@ export function UserMenu() { /> CN -
- +
+
{user.username} - -
-
-
+
+
+
+
-
-
+
+
{/*
*/}
- +
{user.role === "user" ? "" : user.role} {user.contribution_count + " " + t("component.mainNav.points")} - +