diff --git a/app/(site)/components/Trending/index.tsx b/app/(site)/components/Trending/index.tsx index 04d15ed..4965827 100644 --- a/app/(site)/components/Trending/index.tsx +++ b/app/(site)/components/Trending/index.tsx @@ -1,8 +1,10 @@ 'use client'; +import { FC } from 'react'; + import Marquee from '@/components/Marquee'; import { Badge } from '@/components/ui/badge'; -import { FC } from 'react'; + import useTrending from './useTrending'; const Trending: FC<{ label: string; type: 'trending' | 'streaming' | 'theater' | 'rent' }> = ({ label, type }) => { diff --git a/app/(site)/container.tsx b/app/(site)/container.tsx index 97fbf9d..c13edbf 100644 --- a/app/(site)/container.tsx +++ b/app/(site)/container.tsx @@ -3,8 +3,8 @@ import Preview from '@/components/Movie/Preview'; import Carousel from './components/Carousel'; -import useRandomMovie from './useRandomMovie'; import Trending from './components/Trending'; +import useRandomMovie from './useRandomMovie'; const Random = () => { const { movies, movie, index, onIndexChange, fetchNextPage } = useRandomMovie(); diff --git a/components/Marquee/index.tsx b/components/Marquee/index.tsx index 6367acb..880445f 100644 --- a/components/Marquee/index.tsx +++ b/components/Marquee/index.tsx @@ -1,4 +1,5 @@ import { FC } from 'react'; + import Card from '../Movie/Card'; import { showPreviewModal } from '../Movie/Preview';