mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-02 04:12:47 +02:00
chore: ran frontend linting
This commit is contained in:
parent
f9a10c1e0d
commit
95878368c8
74 changed files with 2347 additions and 1697 deletions
|
|
@ -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}
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue