diff options
| author | blackhao <13851610112@163.com> | 2025-12-10 21:54:08 -0600 |
|---|---|---|
| committer | blackhao <13851610112@163.com> | 2025-12-10 21:54:08 -0600 |
| commit | 0c76ea3db76c9908e770b56fb94bf0a92a0d116f (patch) | |
| tree | af0c4345c538def0a506d84876074a2f48058aec /frontend/src/components/LeftSidebar.tsx | |
| parent | b51af40db8ae73216789472903298589bb54df2b (diff) | |
fix: resolve all TypeScript errors for production build
Diffstat (limited to 'frontend/src/components/LeftSidebar.tsx')
| -rw-r--r-- | frontend/src/components/LeftSidebar.tsx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/frontend/src/components/LeftSidebar.tsx b/frontend/src/components/LeftSidebar.tsx index d929dcc..4a0ac7b 100644 --- a/frontend/src/components/LeftSidebar.tsx +++ b/frontend/src/components/LeftSidebar.tsx @@ -17,7 +17,6 @@ const LeftSidebar: React.FC<LeftSidebarProps> = ({ isOpen, onToggle }) => { const { archivedNodes, removeFromArchive, - createNodeFromArchive, theme, files, uploadingFileIds, @@ -37,7 +36,6 @@ const LeftSidebar: React.FC<LeftSidebarProps> = ({ isOpen, onToggle }) => { renameProjectItem, deleteProjectItem, setCurrentBlueprintPath, - serializeBlueprint, clearBlueprint } = useFlowStore(); const { user, logout } = useAuthStore(); @@ -50,8 +48,11 @@ const LeftSidebar: React.FC<LeftSidebarProps> = ({ isOpen, onToggle }) => { const [dragItem, setDragItem] = useState<FSItem | null>(null); const [showSaveStatus, setShowSaveStatus] = useState(false); const [expanded, setExpanded] = useState<Set<string>>(() => new Set(['.'])); - const [fileProvider, setFileProvider] = useState<'local' | 'openai' | 'google'>('local'); - const [openaiPurpose, setOpenaiPurpose] = useState<string>('user_data'); + const [fileProvider, _setFileProvider] = useState<'local' | 'openai' | 'google'>('local'); + const [openaiPurpose, _setOpenaiPurpose] = useState<string>('user_data'); + // Suppress unused warnings - these may be used in future + void _setFileProvider; + void _setOpenaiPurpose; const [fileSearch, setFileSearch] = useState(''); // User Settings Modal State |
