From 8679297acecd92dd6cfbb3b30b8778710d1bc475 Mon Sep 17 00:00:00 2001 From: Me1e Date: Sat, 13 Jan 2024 12:19:54 +0900 Subject: [PATCH] =?UTF-8?q?[=20fix=20]=20=EC=86=8C=EC=9B=90=20=EA=B3=B5?= =?UTF-8?q?=EC=9C=A0=20title?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/Common/Modal/MainShareModal.tsx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/components/Common/Modal/MainShareModal.tsx b/components/Common/Modal/MainShareModal.tsx index 18f8a987..b552a399 100644 --- a/components/Common/Modal/MainShareModal.tsx +++ b/components/Common/Modal/MainShareModal.tsx @@ -1,7 +1,7 @@ import theme from '@/styles/theme'; import styled from 'styled-components'; import ShareContent from './ShareContent'; -import { useGetMainProgressData } from '@/hooks/queries/wishes'; +import { useGetWishesProgress } from '@/hooks/queries/wishes'; import Image from 'next/image'; import { MainCakeImg, MainWishChatImg } from '@/public/assets/images'; import { CloseWhiteIc } from '@/public/assets/icons'; @@ -13,7 +13,7 @@ interface MainShareModalProps { export default function MainShareModal(props: MainShareModalProps) { const { handleToggle } = props; - const { progressData } = useGetMainProgressData(); + const { wishesProgressData } = useGetWishesProgress(); return ( <> @@ -22,14 +22,13 @@ export default function MainShareModal(props: MainShareModalProps) { - {/* {progressData.title} */} - {'화정이의 앙큼 벌스데이'} + {wishesProgressData?.title} 말풍선 메인 케이크 이미지 {'예상 케이크 금액\n'} {`총 ${convertMoneyText( - progressData?.price.toString() || '0', + wishesProgressData?.price.toString() || '0', )}원`}