From 86062d2d18d008947eca3612069fe004ecb62244 Mon Sep 17 00:00:00 2001 From: henrikmv Date: Tue, 13 Aug 2024 09:45:01 +0200 Subject: [PATCH] fix: remove console lines --- .../WidgetRelatedStages/hooks/useCanAddNewEventToStage.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/core_modules/capture-core/components/WidgetRelatedStages/hooks/useCanAddNewEventToStage.js b/src/core_modules/capture-core/components/WidgetRelatedStages/hooks/useCanAddNewEventToStage.js index 1d7c5a7a21..e78e53a554 100644 --- a/src/core_modules/capture-core/components/WidgetRelatedStages/hooks/useCanAddNewEventToStage.js +++ b/src/core_modules/capture-core/components/WidgetRelatedStages/hooks/useCanAddNewEventToStage.js @@ -5,8 +5,6 @@ import { ProgramStage } from '../../../metaData'; import type { LinkableEvent } from '../RelatedStagesActions/RelatedStagesActions.types'; export const useCanAddNewEventToStage = (programStage: ?ProgramStage, existingRelatedEvents: LinkableEvent[]) => { - console.log('programStage', programStage); - console.log('existingRelatedEvents', existingRelatedEvents); const hiddenProgramStages = useSelector(({ rulesEffectsHiddenProgramStageDesc }) => rulesEffectsHiddenProgramStageDesc?.['enrollmentEvent-newEvent'], );