From 0e6b38c4270e69b93ca6bba195c97e070a0d06b1 Mon Sep 17 00:00:00 2001 From: Cristhian Zanforlin Lousa Date: Tue, 26 Sep 2023 11:21:49 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20refactor(dictAreaModal/index.tsx?= =?UTF-8?q?):=20remove=20unnecessary=20console.log=20statement?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The console.log statement was not providing any useful information and was removed to improve code cleanliness and performance. --- src/frontend/src/modals/dictAreaModal/index.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/frontend/src/modals/dictAreaModal/index.tsx b/src/frontend/src/modals/dictAreaModal/index.tsx index 291c634f2..b45606b25 100644 --- a/src/frontend/src/modals/dictAreaModal/index.tsx +++ b/src/frontend/src/modals/dictAreaModal/index.tsx @@ -22,8 +22,6 @@ export default function DictAreaModal({ const [dictObj, setDictObj] = useState(value); useEffect(() => { - console.log(value); - if (value) setDictObj(value); }, [dictObj]);