fix(build): restore missing imports and interface in Sidebar

This commit is contained in:
Antigravity Agent committed 2026-02-04 22:02:36 +01:00
1 parent ccaddce4bb
commit 026ced7199
1 file changed
+8 -1
+8 -1
View File
@@ -1,6 +1,13 @@
import { useState } from 'react';
import { useQuery, useMutation, useQueryClient } from '@tanstack/react-query';
import { feedsApi } from '../api/feeds';
import { articlesApi } from '../api/articles'; import { articlesApi } from '../api/articles';
import { AddFeedModal } from './AddFeedModal';
// ... (existing imports) interface SidebarProps {
onSelectFeed: (feedId: string | null) => void;
selectedFeedId: string | null;
}
export function Sidebar({ onSelectFeed, selectedFeedId }: SidebarProps) { export function Sidebar({ onSelectFeed, selectedFeedId }: SidebarProps) {
const [isAddModalOpen, setIsAddModalOpen] = useState(false); const [isAddModalOpen, setIsAddModalOpen] = useState(false);