From d80df8e3c588f26364448627828b24681b3540fe Mon Sep 17 00:00:00 2001 From: anovazzi1 Date: Fri, 21 Jun 2024 15:28:25 +0000 Subject: [PATCH] Apply Prettier formatting --- src/frontend/src/components/inputGlobalComponent/index.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/frontend/src/components/inputGlobalComponent/index.tsx b/src/frontend/src/components/inputGlobalComponent/index.tsx index 92e24f42b..4d20e8132 100644 --- a/src/frontend/src/components/inputGlobalComponent/index.tsx +++ b/src/frontend/src/components/inputGlobalComponent/index.tsx @@ -35,7 +35,8 @@ export default function InputGlobalComponent({ if (data) if ( ((globalVariablesEntries && - !globalVariablesEntries.includes(data.value))||!globalVariablesEntries) && + !globalVariablesEntries.includes(data.value)) || + !globalVariablesEntries) && data.load_from_db ) { setTimeout(() => { @@ -43,7 +44,7 @@ export default function InputGlobalComponent({ setDb(false); }, 100); } - }, [globalVariablesEntries,data]); + }, [globalVariablesEntries, data]); useEffect(() => { if (!data.value && data.display_name) {