diff --git a/src/app/store/detail/[id]/_components/StoreDetail.tsx b/src/app/store/detail/[id]/_components/StoreDetail.tsx index 94d7b05..e44265d 100644 --- a/src/app/store/detail/[id]/_components/StoreDetail.tsx +++ b/src/app/store/detail/[id]/_components/StoreDetail.tsx @@ -12,7 +12,6 @@ import { Skeleton } from '@/components/shadcn/skeleton' import useBottomSheet from '@/hooks/useBottomSheet' import { useScrollToTop } from '@/hooks/useScrollToTop' import { useThrottle } from '@/hooks/useThrottle' -import { useToast } from '@/hooks/useToast' import { formatDistance } from '@/lib/format' import { modalStore } from '@/store/modal' import { orderDetailStore } from '@/store/orderDetail' @@ -57,7 +56,6 @@ const StoreDetail = ({ storeId }: { storeId: string }) => { const { orderDetail } = orderDetailStore() const { BottomSheet } = useBottomSheet() - const { toast } = useToast() const { topRef, scrollToTop, showScrollButton } = useScrollToTop({ callBack: () => { containerRef.current?.scrollTo({ @@ -244,37 +242,20 @@ const StoreDetail = ({ storeId }: { storeId: string }) => { )}
{!storeDetail ? ( - + ) : ( -
{ - toast({ - description: '준비중입니다.', - position: 'center', - }) - }} - > +
리뷰 {storeDetail.rating} ({storeDetail.reviewCount})
-
)} {!storeDetail ? ( - + ) : ( -
{ - toast({ - description: '준비중입니다.', - position: 'center', - }) - }} - > +
가게 @@ -282,7 +263,6 @@ const StoreDetail = ({ storeId }: { storeId: string }) => { ({formatDistance(storeDetail.deliveryDistance)})
-
)}