From def8c8271f71fe645706efc1b794b59a458010a6 Mon Sep 17 00:00:00 2001 From: cristhianzl Date: Fri, 17 Nov 2023 01:23:39 -0300 Subject: [PATCH] refactor(StorePage): remove unnecessary setValidApiKey function call in useEffect hook The setValidApiKey function call was unnecessary and not being used in the StorePage component. Removing it improves code readability and removes unnecessary code execution. --- src/frontend/src/pages/StorePage/index.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/frontend/src/pages/StorePage/index.tsx b/src/frontend/src/pages/StorePage/index.tsx index 039f675dc..19c003955 100644 --- a/src/frontend/src/pages/StorePage/index.tsx +++ b/src/frontend/src/pages/StorePage/index.tsx @@ -61,7 +61,6 @@ export default function StorePage(): JSX.Element { useEffect(() => { handleGetComponents(); - setValidApiKey(true); }, [ tabActive, pageOrder,