From 9c847c35029204fd00dc4261999cec88897ac7ff Mon Sep 17 00:00:00 2001 From: Dmitry220 Date: Wed, 19 Apr 2023 20:22:49 +0300 Subject: [PATCH] fix id --- src/pages/quiz/QuizPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/quiz/QuizPage.js b/src/pages/quiz/QuizPage.js index c45db065..6c9490d2 100644 --- a/src/pages/quiz/QuizPage.js +++ b/src/pages/quiz/QuizPage.js @@ -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))) }, [])