Browse Source

feat: add 'token' to request headers to forward

master
mortezaei 2 months ago
parent
commit
b3b6ddd6d5
  1. 3
      src/app/questions-list/page.tsx
  2. 3
      src/components/questions/required-steps-card.tsx

3
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) {

3
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)

Loading…
Cancel
Save