diff --git a/components/compositions/dashboard/best-worth/index.tsx b/components/compositions/dashboard/best-worth/index.tsx index 9a01efd..478e8b1 100644 --- a/components/compositions/dashboard/best-worth/index.tsx +++ b/components/compositions/dashboard/best-worth/index.tsx @@ -125,7 +125,7 @@ const RenderActiveShape = (props: PieSectorDataItem) => { function BestWorth({ filter }: { filter: FilterType }) { const { ref, inView } = useInViewRef({ once: true, - amount: 'all', + margin: '2%', }) const { data: statisics, isLoading } = useQuery({ @@ -152,7 +152,7 @@ function BestWorth({ filter }: { filter: FilterType }) { }, [statisics]) return ( -
+
{isLoading ? ( <>
@@ -170,10 +170,7 @@ function BestWorth({ filter }: { filter: FilterType }) { 이네요 -
+
{inView && (