From 0a1ee6994eeec1e760c10429cc1f3075ff7bdabf Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Thu, 21 Mar 2024 16:56:39 -0300 Subject: [PATCH] Refactor inputComponent onChange event handler --- src/frontend/src/components/inputComponent/index.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/frontend/src/components/inputComponent/index.tsx b/src/frontend/src/components/inputComponent/index.tsx index 9fc02117a..0d75627a2 100644 --- a/src/frontend/src/components/inputComponent/index.tsx +++ b/src/frontend/src/components/inputComponent/index.tsx @@ -100,9 +100,8 @@ export default function InputComponent({ ], }); } - - onChange(e.target.value); } + onChange(e.target.value); }} onKeyDown={(e) => { handleKeyDown(e, value, "");