Skip to content

Commit e1f2690

Browse files
committed
refactor: rebase 충돌 해결
1 parent a790904 commit e1f2690

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/Home/Home.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ export interface ScanResult {
1717
const Home = () => {
1818
const { send } = useAppBridge();
1919

20+
const { navigateToReceiptEdit } = useRoute();
21+
2022
const testNavigate = () => {
2123
if (window.response) {
2224
window.response.receiveScanResult(
@@ -49,7 +51,7 @@ const Home = () => {
4951
}
5052
};
5153
}
52-
}, []);
54+
}, [scanData, setScanData, navigateToReceiptEdit]);
5355

5456
return (
5557
<div className={styles.Home}>

0 commit comments

Comments
 (0)