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';
|
'use client';
|
||||||
|
|
||||||
|
import { FC } from 'react';
|
||||||
|
|
||||||
import Marquee from '@/components/Marquee';
|
import Marquee from '@/components/Marquee';
|
||||||
import { Badge } from '@/components/ui/badge';
|
import { Badge } from '@/components/ui/badge';
|
||||||
import { FC } from 'react';
|
|
||||||
import useTrending from './useTrending';
|
import useTrending from './useTrending';
|
||||||
|
|
||||||
const Trending: FC<{ label: string; type: 'trending' | 'streaming' | 'theater' | 'rent' }> = ({ label, type }) => {
|
const Trending: FC<{ label: string; type: 'trending' | 'streaming' | 'theater' | 'rent' }> = ({ label, type }) => {
|
||||||
|
|||||||
@@ -3,8 +3,8 @@
|
|||||||
import Preview from '@/components/Movie/Preview';
|
import Preview from '@/components/Movie/Preview';
|
||||||
|
|
||||||
import Carousel from './components/Carousel';
|
import Carousel from './components/Carousel';
|
||||||
import useRandomMovie from './useRandomMovie';
|
|
||||||
import Trending from './components/Trending';
|
import Trending from './components/Trending';
|
||||||
|
import useRandomMovie from './useRandomMovie';
|
||||||
|
|
||||||
const Random = () => {
|
const Random = () => {
|
||||||
const { movies, movie, index, onIndexChange, fetchNextPage } = useRandomMovie();
|
const { movies, movie, index, onIndexChange, fetchNextPage } = useRandomMovie();
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
import { FC } from 'react';
|
import { FC } from 'react';
|
||||||
|
|
||||||
import Card from '../Movie/Card';
|
import Card from '../Movie/Card';
|
||||||
import { showPreviewModal } from '../Movie/Preview';
|
import { showPreviewModal } from '../Movie/Preview';
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user