We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a680217 commit 13d5f1eCopy full SHA for 13d5f1e
apps/dashboard/src/app/components/Header/SecondaryNav/account-button.client.tsx
@@ -26,11 +26,18 @@ export function AccountButton(props: {
26
<DropdownMenuTrigger asChild>
27
<Button
28
size="icon"
29
- className="!p-0 !h-auto size-10 rounded-full hover:ring-2 hover:ring-offset-2"
+ asChild
30
+ className="size-10 rounded-full hover:ring-2 hover:ring-offset-2"
31
variant="ghost"
32
>
- {/* TODO - set account image */}
33
- <GradientAvatar id={props.account?.id} src={""} className="size-9" />
+ <button>
34
+ {/* TODO - set account image */}
35
+ <GradientAvatar
36
+ id={props.account?.id}
37
+ src={""}
38
+ className="size-9"
39
+ />
40
+ </button>
41
</Button>
42
</DropdownMenuTrigger>
43
<DropdownMenuContent className="w-[300px] rounded-lg p-0" align="end">
0 commit comments