feat: new nav

This commit is contained in:
ner committed 2024-08-29 12:58:49 +03:00
1 parent 5733bc0af0
commit 750d5b12c8
25 files changed
+386 -325

No files matched your search

+7
View File
@@ -6,5 +6,12 @@ import List from '@/components/Movie/List';
export default function Container() {
const { pages } = useFavorites();
if (!pages[0]?.results?.length)
return (
<div className='h-40 w-full flex items-center justify-center text-xl text-muted-foreground'>
There are no items in your favorites list
</div>
);
return <List pages={pages} />;
}