From ed47a20c3d68eee0aa55f8f8b473f7e6f09294dc Mon Sep 17 00:00:00 2001 From: anovazzi1 Date: Thu, 30 Nov 2023 15:15:44 -0300 Subject: [PATCH] fix(inputComponent): remove unnecessary console.log statement fix(tagsSelectorComponent): reformat code for better readability fix(styleUtils): remove unused import for GradientGroup from GradientSparkles icons --- .../src/components/inputComponent/index.tsx | 4 +--- .../src/components/tagsSelectorComponent/index.tsx | 13 ++++++++++--- src/frontend/src/utils/styleUtils.ts | 2 +- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/src/frontend/src/components/inputComponent/index.tsx b/src/frontend/src/components/inputComponent/index.tsx index c5a5a564b..2e7bc2394 100644 --- a/src/frontend/src/components/inputComponent/index.tsx +++ b/src/frontend/src/components/inputComponent/index.tsx @@ -57,11 +57,9 @@ export default function InputComponent({ }} onCopy={(e) => { e.preventDefault(); - console.log("Oi") }} onKeyDown={(e) => { - if (e.ctrlKey && e.key === 'c') { - console.log('Ctrl+C detected'); + if (e.ctrlKey && e.key === "c") { // Perform any actions you need when Ctrl+C is detected } handleKeyDown(e, value, ""); diff --git a/src/frontend/src/components/tagsSelectorComponent/index.tsx b/src/frontend/src/components/tagsSelectorComponent/index.tsx index 281ff8c66..22cf19edc 100644 --- a/src/frontend/src/components/tagsSelectorComponent/index.tsx +++ b/src/frontend/src/components/tagsSelectorComponent/index.tsx @@ -73,12 +73,19 @@ export function TagsSelector({ return (
-
+
{!loadingTags && tags.map((tag, idx) => (