Skip to content

Commit 2b22381

Browse files
committed
fix: 지도 컴포넌트 개선
1 parent b25acf8 commit 2b22381

1 file changed

Lines changed: 1 addition & 17 deletions

File tree

src/app/activities/[activityId]/ActivityClientPage.tsx

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ import ImageMarker from '@/components/common/naverMaps/ImageMarker';
1414
import { activityQueryKeys } from './queryKeys';
1515
import { useUserStore } from '@/store/userStore';
1616
import { useIntersectionObserver } from '@/hooks/useIntersectionObserver';
17-
import { motion } from 'framer-motion';
18-
import { MapPinned } from 'lucide-react';
1917

2018
/**
2119
* ActivityClient 컴포넌트
@@ -146,21 +144,7 @@ export default function ActivityClient({ activityId, blurImage }: ActivityClient
146144
</Marker>
147145
</NaverMap>
148146
) : (
149-
<div className='h-64 bg-gray-100 rounded-lg animate-pulse flex items-center justify-center'>
150-
<motion.div
151-
animate={{
152-
y: [0, -20, 0],
153-
}}
154-
transition={{
155-
duration: 0.8,
156-
repeat: Infinity,
157-
ease: 'easeInOut',
158-
}}
159-
className='text-gray-400'
160-
>
161-
<MapPinned size={40} />
162-
</motion.div>
163-
</div>
147+
<div className='h-64 bg-gray-100 rounded-lg animate-pulse flex items-center justify-center'></div>
164148
)}
165149
</section>
166150
<hr className='border-gray-100' />

0 commit comments

Comments
 (0)