fix: imports order

This commit is contained in:
ner committed 2024-09-02 20:02:38 +03:00
1 parent aff28018f6
commit 57ebf9e669
3 files changed
+5 -2

No files matched your search

+3 -1
View File
@@ -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 }) => {
+1 -1
View File
@@ -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
View File
@@ -1,4 +1,5 @@
import { FC } from 'react';
import Card from '../Movie/Card';
import { showPreviewModal } from '../Movie/Preview';