From cd68e88ef14a7382541f6677500552bad30d3798 Mon Sep 17 00:00:00 2001 From: iqbalpa Date: Thu, 11 Jul 2024 10:37:19 +0700 Subject: [PATCH] fix: import --- src/components/backdrop/backdrop.tsx | 2 +- src/components/card/Card.tsx | 2 +- src/components/listMovies/listMovies.tsx | 2 +- src/components/topCast/topCast.tsx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/backdrop/backdrop.tsx b/src/components/backdrop/backdrop.tsx index 682ca13..336bfb8 100644 --- a/src/components/backdrop/backdrop.tsx +++ b/src/components/backdrop/backdrop.tsx @@ -1,7 +1,7 @@ import { Movie } from '@/constant/movie'; import React, { useState } from 'react'; import Image from 'next/image'; -import { Skeleton } from '../ui/skeleton'; +import { Skeleton } from '@/components/ui/skeleton'; interface IBackdrop { movie: Movie; diff --git a/src/components/card/Card.tsx b/src/components/card/Card.tsx index e6c946d..0bd2ce1 100644 --- a/src/components/card/Card.tsx +++ b/src/components/card/Card.tsx @@ -1,7 +1,7 @@ import React, { useState } from 'react'; import Image from 'next/image'; import { Movie } from '@/constant/movie'; -import { Skeleton } from '../ui/skeleton'; +import { Skeleton } from '@/components/ui/skeleton'; import Link from 'next/link'; interface ICard { diff --git a/src/components/listMovies/listMovies.tsx b/src/components/listMovies/listMovies.tsx index 65c31e4..c9adae4 100644 --- a/src/components/listMovies/listMovies.tsx +++ b/src/components/listMovies/listMovies.tsx @@ -1,7 +1,7 @@ import React from 'react'; import Image from 'next/image'; import { Movie } from '@/constant/movie'; -import Card from '../card/card'; +import Card from '@/components/card/card'; interface IListMovies { movies: Movie[]; diff --git a/src/components/topCast/topCast.tsx b/src/components/topCast/topCast.tsx index b039157..4676486 100644 --- a/src/components/topCast/topCast.tsx +++ b/src/components/topCast/topCast.tsx @@ -1,7 +1,7 @@ import React from 'react'; import Image from 'next/image'; import { Cast } from '@/constant/detailMovie'; -import CastCard from '../castCard/castCard'; +import CastCard from '@/components/castCard/castCard'; interface ITopCast { cast: Cast[];