From dba85aadfb474f9e85a26a8b2b57b05b2e96e640 Mon Sep 17 00:00:00 2001 From: igorrCarvalho Date: Tue, 21 Nov 2023 18:55:52 -0300 Subject: [PATCH] Refactor: Make text area modal open on input click to avoid it not opening on edit node page --- .../components/textAreaComponent/index.tsx | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/src/frontend/src/components/textAreaComponent/index.tsx b/src/frontend/src/components/textAreaComponent/index.tsx index 0be68a294..3ee78ffbd 100644 --- a/src/frontend/src/components/textAreaComponent/index.tsx +++ b/src/frontend/src/components/textAreaComponent/index.tsx @@ -21,17 +21,6 @@ export default function TextAreaComponent({ return (
- { - onChange(event.target.value); - }} - /> -
- {!editNode && ( - + { + onChange(event.target.value); + }} /> - )} + {!editNode && ( + + )} +
-
); }