feat: new nav
This commit is contained in:
1 parent
5733bc0af0
commit
750d5b12c8
25 files changed
+386
-325
No files matched your search
@@ -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} />;
|
||||
}
|
||||
Reference in new issue
Block a user