chore(client): eslint format

Signed-off-by: Noa Virellia <noa@requiem.garden>
This commit is contained in:
2025-12-27 00:25:18 +08:00
parent a06248f3be
commit 2b99d415de
7 changed files with 359 additions and 337 deletions

View File

@@ -1,7 +1,7 @@
"use client"
'use client';
import * as React from "react"
import { type Icon } from "@tabler/icons-react"
import type { Icon } from '@tabler/icons-react';
import * as React from 'react';
import {
SidebarGroup,
@@ -9,23 +9,23 @@ import {
SidebarMenu,
SidebarMenuButton,
SidebarMenuItem,
} from "@/components/ui/sidebar"
} from '@/components/ui/sidebar';
export function NavSecondary({
items,
...props
}: {
items: {
title: string
url: string
icon: Icon
}[]
title: string;
url: string;
icon: Icon;
}[];
} & React.ComponentPropsWithoutRef<typeof SidebarGroup>) {
return (
<SidebarGroup {...props}>
<SidebarGroupContent>
<SidebarMenu>
{items.map((item) => (
{items.map(item => (
<SidebarMenuItem key={item.title}>
<SidebarMenuButton asChild>
<a href={item.url}>
@@ -38,5 +38,5 @@ export function NavSecondary({
</SidebarMenu>
</SidebarGroupContent>
</SidebarGroup>
)
);
}