From 0407ba998de0acd1b66ea5dcfd1a3d3e38d3604d Mon Sep 17 00:00:00 2001 From: Aleksandar Djindjic Date: Tue, 6 Dec 2022 20:37:20 +0100 Subject: [PATCH] remove console.log's Signed-off-by: Aleksandar Djindjic --- public/pages/Rules/components/RuleEditor/YamlRuleEditor.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/public/pages/Rules/components/RuleEditor/YamlRuleEditor.tsx b/public/pages/Rules/components/RuleEditor/YamlRuleEditor.tsx index 645d09f98..e52cb6288 100644 --- a/public/pages/Rules/components/RuleEditor/YamlRuleEditor.tsx +++ b/public/pages/Rules/components/RuleEditor/YamlRuleEditor.tsx @@ -20,8 +20,6 @@ export interface YamlEditorState { } const mapYamlObjectToYamlString = (rule: Rule): string => { - console.log('mapYamlObjectToYamlString', rule); - try { if (!rule.detection) { const { detection, ...ruleWithoutDetection } = rule; @@ -36,8 +34,6 @@ const mapYamlObjectToYamlString = (rule: Rule): string => { }; const mapRuleToYamlObject = (rule: Rule): any => { - console.log('mapRuleToYamlObject', rule); - let detection = undefined; if (rule.detection) { try {