This commit is contained in:
Дмитрий Кравцов 2023-04-19 20:22:49 +03:00
parent f2d7730214
commit 9c847c3502

View File

@ -95,7 +95,7 @@ export const QuizPage = () => {
const [selectedCategory, setsetSelectedCategory] = useState(false)
useEffect(() => {
apiRequest(`/user-questionnaire/questionnaires-list?user_id=${107}`)
apiRequest(`/user-questionnaire/questionnaires-list?user_id=${userId}`)
.then(res => dispatch(setQuestionnaires(res)))
}, [])