diff --git a/packages/keychain/src/components/DeploymentRequired.tsx b/packages/keychain/src/components/DeploymentRequired.tsx index ffb53cfa2..681319e42 100644 --- a/packages/keychain/src/components/DeploymentRequired.tsx +++ b/packages/keychain/src/components/DeploymentRequired.tsx @@ -30,7 +30,10 @@ export function DeploymentRequired({ return; } - if (account.chainId === constants.StarknetChainId.SN_MAIN) { + if ( + account.chainId === constants.StarknetChainId.SN_MAIN || + account.chainId === constants.StarknetChainId.SN_SEPOLIA + ) { setIsFundingRequired(true); return; } diff --git a/packages/keychain/src/components/connect/Signup.tsx b/packages/keychain/src/components/connect/Signup.tsx index b3b33d4d6..c7cc4f607 100644 --- a/packages/keychain/src/components/connect/Signup.tsx +++ b/packages/keychain/src/components/connect/Signup.tsx @@ -20,7 +20,6 @@ import { useConnection } from "hooks/connection"; import { useDebounce } from "hooks/debounce"; import { ErrorAlert } from "components/ErrorAlert"; import { useDeploy } from "hooks/deploy"; -import { constants } from "starknet"; export function Signup({ prefilledName = "", @@ -95,9 +94,9 @@ function Form({ isSlot, onLogin, onSuccess }: SignupProps) { refetchInterval: (data) => (!data ? 1000 : undefined), onSuccess: async (data) => { try { - if (chainId !== constants.StarknetChainId.SN_MAIN) { - await deployRequest(values.username); - } + // if (chainId !== constants.StarknetChainId.SN_MAIN) { + // await deployRequest(values.username); + // } const { account: {