From 2fca421bfffcf485a01c6fc4394c1c40e272ceb4 Mon Sep 17 00:00:00 2001 From: huangmin <2927933426@qq.com> Date: Mon, 1 Jun 2026 14:56:55 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=9A=90=E8=97=8F=E5=BF=AB=E9=80=9F?= =?UTF-8?q?=E5=BC=80=E5=A7=8B=E6=95=99=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/onboarding/FTUXModal.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/onboarding/FTUXModal.tsx b/src/components/onboarding/FTUXModal.tsx index 480be996..a6b830d2 100644 --- a/src/components/onboarding/FTUXModal.tsx +++ b/src/components/onboarding/FTUXModal.tsx @@ -15,10 +15,11 @@ export function FTUXModal({ onComplete, onStartTutorial }: FTUXModalProps) { const [showSkipConfirm, setShowSkipConfirm] = useState(false); const handleNext = () => { - if (currentStep === 4) { + if (currentStep === 3) { // Last step - user chose "Skip Tutorial" setFTUXCompleted(true); onComplete(); + console.log("User completed FTUX"); } else { setCurrentStep((currentStep + 1) as FTUXStep); }