chore(format): run prettier
This commit is contained in:
+21
-4
@@ -121,7 +121,11 @@ export function Header() {
|
||||
<>
|
||||
<DropdownMenu>
|
||||
<DropdownMenuTrigger asChild>
|
||||
<Button variant="ghost" size="sm" className="hidden md:flex text-xs h-8 text-muted-foreground hover:text-foreground">
|
||||
<Button
|
||||
variant="ghost"
|
||||
size="sm"
|
||||
className="hidden md:flex text-xs h-8 text-muted-foreground hover:text-foreground"
|
||||
>
|
||||
{roleLabels[currentRole]}
|
||||
</Button>
|
||||
</DropdownMenuTrigger>
|
||||
@@ -140,7 +144,12 @@ export function Header() {
|
||||
</DropdownMenuContent>
|
||||
</DropdownMenu>
|
||||
|
||||
<Button variant="ghost" size="icon" className="relative h-9 w-9 text-muted-foreground hover:text-foreground" asChild>
|
||||
<Button
|
||||
variant="ghost"
|
||||
size="icon"
|
||||
className="relative h-9 w-9 text-muted-foreground hover:text-foreground"
|
||||
asChild
|
||||
>
|
||||
<Link href="/notifications">
|
||||
<Bell className="h-4 w-4" />
|
||||
{unreadCount > 0 && (
|
||||
@@ -153,7 +162,11 @@ export function Header() {
|
||||
|
||||
<DropdownMenu>
|
||||
<DropdownMenuTrigger asChild>
|
||||
<Button variant="ghost" size="icon" className="rounded-full h-9 w-9 text-muted-foreground hover:text-foreground">
|
||||
<Button
|
||||
variant="ghost"
|
||||
size="icon"
|
||||
className="rounded-full h-9 w-9 text-muted-foreground hover:text-foreground"
|
||||
>
|
||||
<Avatar className="h-7 w-7">
|
||||
<AvatarImage src={user?.avatar} />
|
||||
<AvatarFallback>{user?.nickname?.[0] ?? "?"}</AvatarFallback>
|
||||
@@ -224,7 +237,11 @@ export function Header() {
|
||||
|
||||
<Sheet open={mobileOpen} onOpenChange={setMobileOpen}>
|
||||
<SheetTrigger asChild>
|
||||
<Button variant="ghost" size="icon" className="md:hidden h-9 w-9 text-muted-foreground hover:text-foreground">
|
||||
<Button
|
||||
variant="ghost"
|
||||
size="icon"
|
||||
className="md:hidden h-9 w-9 text-muted-foreground hover:text-foreground"
|
||||
>
|
||||
<Menu className="h-5 w-5" />
|
||||
</Button>
|
||||
</SheetTrigger>
|
||||
|
||||
Reference in New Issue
Block a user