✨ completed routing for questions
This commit is contained in:
parent
b22140ba3f
commit
77ad823803
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@
|
||||||
const handleUserformSubmit = async (age: string, education: string, healthcare_personnel: string, gender: string) => {
|
const handleUserformSubmit = async (age: string, education: string, healthcare_personnel: string, gender: string) => {
|
||||||
const response = await postUserformData(age, education, healthcare_personnel, gender)
|
const response = await postUserformData(age, education, healthcare_personnel, gender)
|
||||||
const userQuestions = await getUserQuestions(response.respondentID)
|
const userQuestions = await getUserQuestions(response.respondentID)
|
||||||
|
|
||||||
goto("form/0")
|
goto("form/0")
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
Reference in a new issue