diff --git a/app/change-distance/page.tsx b/app/change-distance/page.tsx index 842a818f..c9ac298f 100644 --- a/app/change-distance/page.tsx +++ b/app/change-distance/page.tsx @@ -33,7 +33,7 @@ export default function Page() { if (data.data.goal !== selectedDistance) { openSaveModal(); } else { - router.push('/setting'); + router.replace('/setting'); } };