feat: scroll navigation

This commit is contained in:
ner committed 2024-10-10 15:55:25 +03:00
1 parent eaaf46082c
commit 058ecd452f
7 files changed
+238 -132

No files matched your search

+2 -2
View File
@@ -4,7 +4,7 @@ import { FC, useState } from 'react';
import Nav from '@/components/ui/nav';
import Marquee from './components/Marquee';
import Gallery from './components/Gallery';
import { tabs } from './constants';
import useTrending from './useTrending';
@@ -22,7 +22,7 @@ const Trending: FC = () => {
isFetched && (
<div>
<Nav tabs={tabs} active={active} onChange={(active) => setActive(active)} className='mb-3' />
<Marquee key={active.type} shows={shows} />
<Gallery key={active.type} shows={shows} />
</div>
)
);