fix: imports order
This commit is contained in:
1 parent
aff28018f6
commit
57ebf9e669
3 files changed
+5
-2
No files matched your search
@@ -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 }) => {
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { FC } from 'react';
|
||||
|
||||
import Card from '../Movie/Card';
|
||||
import { showPreviewModal } from '../Movie/Preview';
|
||||
|
||||
|
||||
Reference in new issue
Block a user