From 61c3c88fb67cf7f4caded7b356917df209883150 Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Sun, 3 Sep 2023 19:57:51 +0100 Subject: [PATCH] Integrate question backend --- src/components/Questions/QuestionFinished.tsx | 8 ++++---- src/components/Questions/QuestionsList.tsx | 14 +++++++------- src/components/Questions/QuestionsProgress.tsx | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/components/Questions/QuestionFinished.tsx b/src/components/Questions/QuestionFinished.tsx index d16de8cc2..10ab35e81 100644 --- a/src/components/Questions/QuestionFinished.tsx +++ b/src/components/Questions/QuestionFinished.tsx @@ -23,7 +23,7 @@ function ProgressStatButton(props: ProgressStatButtonProps) { ); @@ -43,7 +43,7 @@ type QuestionFinishedProps = { didNotKnowCount: number; skippedCount: number; totalCount: number; - onReset: (type: QuestionProgressType | 'all') => void; + onReset: (type: QuestionProgressType | 'reset') => void; }; export function QuestionFinished(props: QuestionFinishedProps) { @@ -85,7 +85,7 @@ export function QuestionFinished(props: QuestionFinishedProps) {