Skip to content

Commit 30bb555

Browse files
committed
refactor: button time out 추가
1 parent e1f2690 commit 30bb555

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/components/Home/Home.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,15 +72,19 @@ const Home = () => {
7272
iconName="gallery"
7373
onClick={() => {
7474
send({ type: AppBridgeMessageType.OPEN_GALLERY, payload: "" });
75-
testNavigate();
75+
setTimeout(() => {
76+
testNavigate();
77+
}, 5000);
7678
}}
7779
/>
7880
<IconButton
7981
text="카메라"
8082
iconName="camera"
8183
onClick={() => {
8284
send({ type: AppBridgeMessageType.OPEN_CAMERA, payload: "" });
83-
testNavigate();
85+
setTimeout(() => {
86+
testNavigate();
87+
}, 5000);
8488
}}
8589
/>
8690
</div>

0 commit comments

Comments
 (0)