chore: ran frontend linting

This commit is contained in:
Anish Sarkar 2026-01-01 22:24:42 +05:30
parent f9a10c1e0d
commit 95878368c8
74 changed files with 2347 additions and 1697 deletions

View file

@ -448,10 +448,7 @@ export const AppSidebar = memo(function AppSidebar({
<SidebarContent className="gap-1">
<NavMain items={processedNavMain} />
<NavChats
chats={processedRecentChats}
searchSpaceId={searchSpaceId}
/>
<NavChats chats={processedRecentChats} searchSpaceId={searchSpaceId} />
<NavNotes
notes={processedRecentNotes}

View file

@ -62,11 +62,7 @@ const actionIconMap: Record<string, LucideIcon> = {
RefreshCw,
};
export function NavChats({
chats,
defaultOpen = true,
searchSpaceId,
}: NavChatsProps) {
export function NavChats({ chats, defaultOpen = true, searchSpaceId }: NavChatsProps) {
const t = useTranslations("sidebar");
const router = useRouter();
const pathname = usePathname();

View file

@ -63,12 +63,7 @@ const actionIconMap: Record<string, LucideIcon> = {
MoreHorizontal,
};
export function NavNotes({
notes,
onAddNote,
defaultOpen = true,
searchSpaceId,
}: NavNotesProps) {
export function NavNotes({ notes, onAddNote, defaultOpen = true, searchSpaceId }: NavNotesProps) {
const t = useTranslations("sidebar");
const router = useRouter();
const pathname = usePathname();