feat: favorite & watch lists
This commit is contained in:
1 parent
960a7a6242
commit
8858e47d38
51 files changed
+561
-290
No files matched your search
@@ -3,8 +3,8 @@
|
||||
import { FC, ForwardedRef, forwardRef, useLayoutEffect, useRef } from 'react';
|
||||
import { Virtuoso, VirtuosoProps } from 'react-virtuoso';
|
||||
|
||||
import Poster from '@/components/Poster';
|
||||
import ScrollNavigation from '@/components/ScrollNavigation';
|
||||
import Card from '@/components/Show';
|
||||
import { cn } from '@/lib/utils';
|
||||
|
||||
const components: VirtuosoProps<Show, (index: number) => void>['components'] = {
|
||||
@@ -36,7 +36,7 @@ const components: VirtuosoProps<Show, (index: number) => void>['components'] = {
|
||||
|
||||
return (
|
||||
<div {...props} ref={ref} className='snap-start'>
|
||||
<Card show={item} />
|
||||
<Poster show={item} />
|
||||
</div>
|
||||
);
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user