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.
This commit is contained in:
cristhianzl 2023-11-17 01:23:39 -03:00
commit def8c8271f

View file

@ -61,7 +61,6 @@ export default function StorePage(): JSX.Element {
useEffect(() => {
handleGetComponents();
setValidApiKey(true);
}, [
tabActive,
pageOrder,