feat: favorite & watch lists
This commit is contained in:
1 parent
960a7a6242
commit
8858e47d38
51 files changed
+561
-290
No files matched your search
@@ -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] || [];
|
||||
|
||||
Reference in new issue
Block a user