diff --git a/src/components/page-layout/surveyLayout/components/SurveyForm/index.tsx b/src/components/page-layout/surveyLayout/components/SurveyForm/index.tsx index a1de284..d5ca75d 100644 --- a/src/components/page-layout/surveyLayout/components/SurveyForm/index.tsx +++ b/src/components/page-layout/surveyLayout/components/SurveyForm/index.tsx @@ -63,8 +63,9 @@ export default function SurveyForm() { } mutate.mutate(formData, { - onSuccess: () => { - router.push('/recommend'); + onSuccess: (data) => { + const query = data.data.data; + router.push(`/recommend?data=${query}`); }, }); };