From d4b0ce9851001f7102a4e98249e58e6293be2348 Mon Sep 17 00:00:00 2001 From: Lucas Oliveira Date: Mon, 3 Jul 2023 22:16:17 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(codeAreaComponent):=20fix=20?= =?UTF-8?q?type=20name=20in=20function=20parameter=20to=20match=20imported?= =?UTF-8?q?=20type=20=F0=9F=90=9B=20fix(textAreaComponent):=20fix=20class?= =?UTF-8?q?=20name=20in=20className=20to=20match=20CSS=20class=20name=20co?= =?UTF-8?q?nvention?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/frontend/src/components/codeAreaComponent/index.tsx | 4 ++-- src/frontend/src/components/textAreaComponent/index.tsx | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/frontend/src/components/codeAreaComponent/index.tsx b/src/frontend/src/components/codeAreaComponent/index.tsx index fce1effb4..75f5497a2 100644 --- a/src/frontend/src/components/codeAreaComponent/index.tsx +++ b/src/frontend/src/components/codeAreaComponent/index.tsx @@ -13,7 +13,7 @@ export default function CodeAreaComponent({ editNode = false, nodeClass, setNodeClass, -}: CodeAreaComponentType) { +}: TextAreaComponentType) { const [myValue, setMyValue] = useState( typeof value == "string" ? value : JSON.stringify(value) ); @@ -52,7 +52,7 @@ export default function CodeAreaComponent({ }} className={ editNode - ? "input-edit-node input-dialog" + ? "input-edit-node input-dialog " : "input-primary input-dialog " + (disabled ? "input-disable" : "") } > diff --git a/src/frontend/src/components/textAreaComponent/index.tsx b/src/frontend/src/components/textAreaComponent/index.tsx index 61ce7891b..8773c47b2 100644 --- a/src/frontend/src/components/textAreaComponent/index.tsx +++ b/src/frontend/src/components/textAreaComponent/index.tsx @@ -32,7 +32,7 @@ export default function TextAreaComponent({ className={ editNode ? "w-full items-center" - : "w-full flex items-center gap-3" + : "w-full flex items-center" } > {myValue !== "" ? myValue : "Type something..."}