diff --git a/packages/frontend/src/components/projects/create/Configure.tsx b/packages/frontend/src/components/projects/create/Configure.tsx index f2e8c3b4..f10432a9 100644 --- a/packages/frontend/src/components/projects/create/Configure.tsx +++ b/packages/frontend/src/components/projects/create/Configure.tsx @@ -224,6 +224,7 @@ const Configure = () => { onDismiss: dismiss, }); setIsFrameVisible(false); + setIsPaymentLoading(false); throw new Error('Transaction rejected'); } @@ -301,10 +302,6 @@ const Configure = () => { [client, createProject, dismiss, toast], ); - const toggleModal = () => { - setIsFrameVisible((prev) => !prev); - }; - const fetchDeployers = useCallback(async () => { const res = await client.getDeployers(); setDeployers(res.deployers); @@ -586,7 +583,6 @@ const Configure = () => { setAccounts={setAccounts} setIsDataReceived={setIsAccountsDataReceived} isVisible={isFrameVisible} - toggleModal={toggleModal} /> {accounts.length > 0 && (