From b3b6ddd6d5382710f2c1a0963381be7c88c0b6a9 Mon Sep 17 00:00:00 2001 From: mortezaei Date: Fri, 15 May 2026 05:41:45 +0330 Subject: [PATCH] feat: add 'token' to request headers to forward --- src/app/questions-list/page.tsx | 3 +-- src/components/questions/required-steps-card.tsx | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/app/questions-list/page.tsx b/src/app/questions-list/page.tsx index 6a54b88..9cd4b90 100644 --- a/src/app/questions-list/page.tsx +++ b/src/app/questions-list/page.tsx @@ -48,9 +48,8 @@ export default function QuestionsListPage() { const profileContext = useMemo( () => ({ gender: profile?.gender, - age: profile?.age, }), - [profile?.gender, profile?.age], + [profile?.gender], ); const allRequiredSectionsCompleted = useMemo(() => { if (!sections?.length) { diff --git a/src/components/questions/required-steps-card.tsx b/src/components/questions/required-steps-card.tsx index 115f1fe..5e8d31e 100644 --- a/src/components/questions/required-steps-card.tsx +++ b/src/components/questions/required-steps-card.tsx @@ -34,9 +34,8 @@ export default function RequiredStepsCard() { const profileContext = useMemo( () => ({ gender: profile?.gender, - age: profile?.age, }), - [profile?.gender, profile?.age], + [profile?.gender], ); const fallbackRequiredSteps: RequiredStep[] = getQuestionListItems(locale)