We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a790904 commit e1f2690Copy full SHA for e1f2690
src/components/Home/Home.tsx
@@ -17,6 +17,8 @@ export interface ScanResult {
17
const Home = () => {
18
const { send } = useAppBridge();
19
20
+ const { navigateToReceiptEdit } = useRoute();
21
+
22
const testNavigate = () => {
23
if (window.response) {
24
window.response.receiveScanResult(
@@ -49,7 +51,7 @@ const Home = () => {
49
51
}
50
52
};
53
- }, []);
54
+ }, [scanData, setScanData, navigateToReceiptEdit]);
55
56
return (
57
<div className={styles.Home}>
0 commit comments