@@ -8,11 +8,9 @@ import { useAppBridge } from "@/components/provider/AppBridgeProvider/AppBridgeP
88import Button from "@/components/ui/Button/Button" ;
99import IconButton from "@/components/ui/IconButton/IconButton" ;
1010import Text from "@/components/ui/Text/Text" ;
11- import Toast from "@/components/ui/Toast/Toast" ;
1211
1312import { useOverlay } from "@/hooks/common/useOverlay" ;
1413import { useRoute } from "@/hooks/common/useRoute" ;
15- import useToast from "@/hooks/common/useToast" ;
1614
1715import styles from "@/pages/ReviewResultPage/ReviewResultPage.module.scss" ;
1816
@@ -30,7 +28,6 @@ export default function ReviewResultPage() {
3028 const { navigateToCreateReviewFail, navigateToLoading } = useRoute ( ) ;
3129
3230 const { isOpen, handleClose, handleOpen } = useOverlay ( ) ;
33- const { isToast, showToast } = useToast ( 1000 ) ;
3431
3532 const { ocrText, hashTag, reviewStyle } = createReviewData ;
3633
@@ -89,19 +86,14 @@ export default function ReviewResultPage() {
8986 size = "sm"
9087 onClick = { ( ) => {
9188 send ( { type : AppBridgeMessageType . COPY , payload : { review : generateReviewData } } ) ;
92-
93- showToast ( ) ;
9489 } }
9590 />
9691 </ div >
9792 </ div >
9893
9994 < div className = { styles . Bottom } >
100- { isToast && < Toast text = "리뷰가 복사되었어요." /> }
101- < div className = { styles . ButtonBox } >
102- < Button text = "다시생성" variant = "secondary" onClick = { handleRetryCreateReview } />
103- < Button text = "홈으로 가기" onClick = { handleOpen } />
104- </ div >
95+ < Button text = "다시생성" variant = "secondary" onClick = { handleRetryCreateReview } />
96+ < Button text = "홈으로 가기" onClick = { handleOpen } />
10597 </ div >
10698
10799 < HomeNavigateConfirmModal isOpen = { isOpen } handleClose = { handleClose } />
0 commit comments