analytica-frontend-lib 1.0.97 → 1.0.98

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -7666,12 +7666,12 @@ var QuizSubTitle = forwardRef19(
7666
7666
  }
7667
7667
  );
7668
7668
  var QuizHeader = () => {
7669
- const { getCurrentQuestion } = useQuizStore();
7669
+ const { getCurrentQuestion, currentQuestionIndex } = useQuizStore();
7670
7670
  const currentQuestion = getCurrentQuestion();
7671
7671
  return /* @__PURE__ */ jsx37(
7672
7672
  HeaderAlternative,
7673
7673
  {
7674
- title: currentQuestion ? `Quest\xE3o ${currentQuestion.id}` : "Quest\xE3o",
7674
+ title: currentQuestion ? `Quest\xE3o ${currentQuestionIndex + 1}` : "Quest\xE3o",
7675
7675
  subTitle: currentQuestion?.knowledgeMatrix?.[0]?.topicId ?? "",
7676
7676
  content: currentQuestion?.questionText ?? ""
7677
7677
  }