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 431bd20 commit 3b0ae32Copy full SHA for 3b0ae32
src/components/ReceiptEdit/ReceiptEdit.tsx
@@ -11,7 +11,7 @@ import { useCreateReviewStore } from "@/store/useReviewStore";
11
import { useScanDataStore } from "@/store/useScanDataStore";
12
13
const ReceiptEdit = () => {
14
- const { navigateToSelectTag } = useRoute();
+ const { navigateToSelectTag, navigateToHome } = useRoute();
15
16
const { scanData } = useScanDataStore();
17
@@ -116,7 +116,7 @@ const ReceiptEdit = () => {
116
/>
117
) : (
118
<>
119
- <Button text="다시 스캔하기" variant="secondary" />
+ <Button text="다시 스캔하기" variant="secondary" onClick={navigateToHome} />
120
<Button
121
text="정보가 맞아요"
122
disabled={formData.some((item) => Object.values(item).some((value) => !value))}
0 commit comments