From a0773eb108beb411857a0b340540f3b01f171542 Mon Sep 17 00:00:00 2001 From: David Colon <38386583+Da-Colon@users.noreply.github.com> Date: Thu, 19 Dec 2024 10:13:32 -0500 Subject: [PATCH] Update dependency array in EstablishEssentials to include addressPrefix --- .../DaoCreator/formComponents/EstablishEssentials.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/DaoCreator/formComponents/EstablishEssentials.tsx b/src/components/DaoCreator/formComponents/EstablishEssentials.tsx index e880bf66d..1ac5af67a 100644 --- a/src/components/DaoCreator/formComponents/EstablishEssentials.tsx +++ b/src/components/DaoCreator/formComponents/EstablishEssentials.tsx @@ -113,7 +113,7 @@ export function EstablishEssentials(props: ICreationStepProps) { const chainId = getChainIdFromPrefix(addressPrefix); switchChain({ chainId }); } - }); + }, [chain.id, walletChainID, addressPrefix, switchChain]); return ( <>