diff --git a/packages/keychain/src/components/DeploymentRequired.tsx b/packages/keychain/src/components/DeploymentRequired.tsx index 3f17f8d71..d09cf60be 100644 --- a/packages/keychain/src/components/DeploymentRequired.tsx +++ b/packages/keychain/src/components/DeploymentRequired.tsx @@ -45,7 +45,13 @@ export function DeploymentRequired({ setDeployHash(hash); }) .catch((e) => setError(e)); - }, [account.chainId, account.username, hasPrefundRequest, isDeployed, deployRequest]); + }, [ + account.chainId, + account.username, + hasPrefundRequest, + isDeployed, + deployRequest, + ]); if (isDeployed) { return <>{children}; diff --git a/packages/keychain/src/components/connect/CreateSession.tsx b/packages/keychain/src/components/connect/CreateSession.tsx index f81b12216..3c7d2e036 100644 --- a/packages/keychain/src/components/connect/CreateSession.tsx +++ b/packages/keychain/src/components/connect/CreateSession.tsx @@ -26,9 +26,9 @@ export function CreateSession({ await controller.approve(origin, expiresAt, policies, maxFees); onConnect(policies); } catch (e) { - setError(e) - setIsConnecting(false) - } + setError(e); + setIsConnecting(false); + } }, [controller, origin, expiresAt, policies, maxFees, onConnect]); return ( @@ -52,13 +52,16 @@ export function CreateSession({