From b9914e9af39ccf7bc65ea4c5dd0326567aba7dc2 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 6 Nov 2025 21:07:43 +0000 Subject: [PATCH] Fix duplicate canContinue declaration in SuppliersSetupStep Removed duplicate const declaration of canContinue on line 50 which was already declared as a prop on line 17, causing build error: ERROR: The symbol "canContinue" has already been declared The component already passes the calculated value to parent via onUpdate on line 53, so the local const was redundant. Build now completes successfully. --- .../domain/setup-wizard/steps/SuppliersSetupStep.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/frontend/src/components/domain/setup-wizard/steps/SuppliersSetupStep.tsx b/frontend/src/components/domain/setup-wizard/steps/SuppliersSetupStep.tsx index c9c18f33..441e2b9f 100644 --- a/frontend/src/components/domain/setup-wizard/steps/SuppliersSetupStep.tsx +++ b/frontend/src/components/domain/setup-wizard/steps/SuppliersSetupStep.tsx @@ -46,9 +46,6 @@ export const SuppliersSetupStep: React.FC = ({ }); const [errors, setErrors] = useState>({}); - // Track if minimum requirement is met - const canContinue = suppliers.length >= 1; - // Notify parent when count changes useEffect(() => { onUpdate?.({