diff --git a/src/components/Home/Home.tsx b/src/components/Home/Home.tsx index 2eb8e59..91f32b9 100644 --- a/src/components/Home/Home.tsx +++ b/src/components/Home/Home.tsx @@ -23,9 +23,11 @@ const Home = () => { if (window.response) { window.response.receiveScanResult( JSON.stringify([ - { 가게명: "청담커피 앤 토스트" }, - { 품명: "카야토스트+음료세트" }, - { 가격: 3000 }, + { 상호명: "바나프레소" }, + { + 품명: "아이스 디카페인 아메리카노, 아이스 아메리카노, 버터리소금빵, 에그듬뿍모닝샌드위치, 아이스 빅바나 콜드브루", + }, + { 가격: 13500 }, ]), ); } @@ -72,15 +74,19 @@ const Home = () => { iconName="gallery" onClick={() => { send({ type: AppBridgeMessageType.OPEN_GALLERY, payload: "" }); - testNavigate(); + setTimeout(() => { + testNavigate(); + }, 5000); }} /> { - send({ type: AppBridgeMessageType.OPEN_CAMERA, payload: "" }); - testNavigate(); + // send({ type: AppBridgeMessageType.OPEN_CAMERA, payload: "" }); + setTimeout(() => { + testNavigate(); + }, 5000); }} /> diff --git a/src/components/ReceiptEdit/ReceiptEdit.tsx b/src/components/ReceiptEdit/ReceiptEdit.tsx index 10bb2dc..6fec703 100644 --- a/src/components/ReceiptEdit/ReceiptEdit.tsx +++ b/src/components/ReceiptEdit/ReceiptEdit.tsx @@ -11,7 +11,7 @@ import { useCreateReviewStore } from "@/store/useReviewStore"; import { useScanDataStore } from "@/store/useScanDataStore"; const ReceiptEdit = () => { - const { navigateToSelectTag } = useRoute(); + const { navigateToSelectTag, navigateToHome } = useRoute(); const { scanData } = useScanDataStore(); @@ -116,7 +116,7 @@ const ReceiptEdit = () => { /> ) : ( <> -