fix id
This commit is contained in:
parent
f2d7730214
commit
9c847c3502
@ -95,7 +95,7 @@ export const QuizPage = () => {
|
|||||||
const [selectedCategory, setsetSelectedCategory] = useState(false)
|
const [selectedCategory, setsetSelectedCategory] = useState(false)
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
apiRequest(`/user-questionnaire/questionnaires-list?user_id=${107}`)
|
apiRequest(`/user-questionnaire/questionnaires-list?user_id=${userId}`)
|
||||||
.then(res => dispatch(setQuestionnaires(res)))
|
.then(res => dispatch(setQuestionnaires(res)))
|
||||||
}, [])
|
}, [])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user