From 6c6dccf76612fe4d1d3c8a1fc0e46e9492cfd048 Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Tue, 24 Jun 2025 00:39:03 +0100 Subject: [PATCH] Remove login message --- src/components/Questions/QuestionsList.tsx | 1 - .../Questions/QuestionsProgress.tsx | 19 +------------------ 2 files changed, 1 insertion(+), 19 deletions(-) diff --git a/src/components/Questions/QuestionsList.tsx b/src/components/Questions/QuestionsList.tsx index 5ff7f1b4d..f7fcd5485 100644 --- a/src/components/Questions/QuestionsList.tsx +++ b/src/components/Questions/QuestionsList.tsx @@ -79,7 +79,6 @@ export function QuestionsList(props: QuestionsListProps) { didNotKnowCount={dontKnowCount} skippedCount={skipCount} totalCount={questions?.length} - showLoginAlert={!isLoggedIn() && hasProgress} onResetClick={() => { resetProgress().finally(() => null); }} diff --git a/src/components/Questions/QuestionsProgress.tsx b/src/components/Questions/QuestionsProgress.tsx index d7aba1ca6..dd2869ca5 100644 --- a/src/components/Questions/QuestionsProgress.tsx +++ b/src/components/Questions/QuestionsProgress.tsx @@ -6,11 +6,9 @@ import { SkipForward, Sparkles, } from 'lucide-react'; -import { showLoginPopup } from '../../lib/popup'; type QuestionsProgressProps = { isLoading?: boolean; - showLoginAlert?: boolean; knowCount?: number; didNotKnowCount?: number; totalCount?: number; @@ -22,7 +20,6 @@ type QuestionsProgressProps = { export function QuestionsProgress(props: QuestionsProgressProps) { const { - showLoginAlert, isLoading = false, knowCount = 0, didNotKnowCount = 0, @@ -41,7 +38,7 @@ export function QuestionsProgress(props: QuestionsProgressProps) {
Progress
- - {showLoginAlert && ( -

- You progress is not saved. Please{' '} - -

- )}
); }