feat: favorite & watch lists

This commit is contained in:
ner committed 2024-10-19 16:09:15 +03:00
1 parent 960a7a6242
commit 8858e47d38
51 files changed
+561 -290

No files matched your search

+2 -2
View File
@@ -11,8 +11,8 @@ import useTrending from './useTrending';
const Trending: FC = () => {
const [active, setActive] = useState(tabs[0]);
const { data: trending, isFetched } = useTrending({ type: 'trending' });
const { data: streaming } = useTrending({ type: 'streaming' });
const { data: streaming, isFetched } = useTrending({ type: 'streaming' });
const { data: trending } = useTrending({ type: 'trending' });
const { data: theater } = useTrending({ type: 'theater' });
const shows = { trending, streaming, theater }[active.type] || [];