From 13070790cc58776c2cadbf3de422e93c372be0a9 Mon Sep 17 00:00:00 2001 From: Julien Froidefond Date: Tue, 6 Jan 2026 09:24:53 +0100 Subject: [PATCH] refactor(FoldersSidebar): remove unused TagIcon import and related tag variable for cleaner code --- src/components/notes/FoldersSidebar.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/components/notes/FoldersSidebar.tsx b/src/components/notes/FoldersSidebar.tsx index a6ebd18..6c7ed29 100644 --- a/src/components/notes/FoldersSidebar.tsx +++ b/src/components/notes/FoldersSidebar.tsx @@ -11,7 +11,6 @@ import { Trash2, ChevronRight, ChevronDown, - Tag as TagIcon, } from 'lucide-react'; import { createFolder, updateFolder, deleteFolder } from '@/actions/folders'; @@ -48,7 +47,6 @@ function FolderItem({ const [isExpanded, setIsExpanded] = useState(true); const [isDragOver, setIsDragOver] = useState(false); const hasChildren = folder.children && folder.children.length > 0; - const tag = availableTags.find((t) => t.id === folder.tagId); const handleEdit = (e: React.MouseEvent) => { e.stopPropagation();