Skip to content

Commit 9d7c130

Browse files
committed
fix/course-setting
1 parent b39255f commit 9d7c130

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pages/map/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ export default function CourseSettingPage() {
1313
const { purpose, setPurpose, stay, setStay, move, setMove } =
1414
useCourseSelection();
1515

16-
const canProceed = purpose && stay && move;
16+
const canProceed = Boolean(purpose && stay && move);
1717

1818
const handleNext = () => {
1919
if (!canProceed) return alert('모든 항목을 선택해주세요.');
20-
router.push('/result');
20+
router.push('/map/result');
2121
};
2222

2323
return (

0 commit comments

Comments
 (0)