diff --git a/components/atoms/skeleton/Skeleton.tsx b/components/atoms/skeleton/Skeleton.tsx index 72366676b..b736c7cf4 100644 --- a/components/atoms/skeleton/Skeleton.tsx +++ b/components/atoms/skeleton/Skeleton.tsx @@ -1,17 +1,15 @@ -import { Skeleton as ChakraSkeleton } from "@chakra-ui/react"; +import { Skeleton as ChakraSkeleton, SkeletonProps } from "@chakra-ui/react"; +import { PropsWithChildren } from "react"; -interface ISkeleton { - children: React.ReactNode; - isLoad?: boolean; -} +interface ISkeleton extends Pick {} -function Skeleton({ children, isLoad }: ISkeleton) { +function Skeleton({ children, isLoaded = false }: PropsWithChildren) { return ( diff --git a/modals/aboutHeader/promotionModal/PromotionModalDetail.tsx b/modals/aboutHeader/promotionModal/PromotionModalDetail.tsx index e130eb0ea..e5d9257d9 100644 --- a/modals/aboutHeader/promotionModal/PromotionModalDetail.tsx +++ b/modals/aboutHeader/promotionModal/PromotionModalDetail.tsx @@ -23,7 +23,7 @@ function PromotionModalDetail() {
현재 참여 수 - + {applyCnt || ""}명(중복 포함)