mirror of
https://github.com/R0m1k3/FlowReader.git
synced 2026-10-20 21:58:11 +02:00
fix(build): restore missing imports and interface in Sidebar
This commit is contained in:
1 parent
ccaddce4bb
commit
026ced7199
1 file changed
+8
-1
@@ -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);
|
||||||
|
|||||||
Reference in new issue
Block a user