Skip to content

Commit 6d7e963

Browse files
committed
refactor: data field 수정
1 parent 24687e5 commit 6d7e963

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

src/components/Home/Home.tsx

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,26 @@ const Home = () => {
2525
JSON.stringify([
2626
{ 상호명: "바나프레소" },
2727
{
28-
품명: "아이스 디카페인 아메리카노, 아이스 아메리카노, 버터리소금빵, 에그듬뿍모닝샌드위치, 아이스 빅바나 콜드브루",
28+
품명: "아이스 디카페인 아메리카노",
29+
},
30+
{
31+
품명: "아이스 아메리카노",
32+
},
33+
{
34+
품명: "버터리소금빵",
35+
},
36+
{
37+
품명: "에그듬뿍모닝샌드위치",
38+
},
39+
{
40+
품명: "아이스 빅바나 콜드브루",
2941
},
3042
{ 가격: 13500 },
3143
]),
3244
);
3345
}
34-
setTimeout(() => {
35-
navigateToReceiptEdit();
36-
}, 3000);
46+
47+
navigateToReceiptEdit();
3748
};
3849

3950
const { scanData, setScanData } = useScanDataStore();
@@ -83,7 +94,7 @@ const Home = () => {
8394
text="카메라"
8495
iconName="camera"
8596
onClick={() => {
86-
// send({ type: AppBridgeMessageType.OPEN_CAMERA, payload: "" });
97+
send({ type: AppBridgeMessageType.OPEN_CAMERA, payload: "" });
8798
setTimeout(() => {
8899
testNavigate();
89100
}, 5000);

0 commit comments

Comments
 (0)