diff --git a/src/app/recover-funds/[address]/RecoverFundsButton.tsx b/src/app/recover-funds/[address]/RecoverFundsButton.tsx index 2ed63a0..bc22462 100644 --- a/src/app/recover-funds/[address]/RecoverFundsButton.tsx +++ b/src/app/recover-funds/[address]/RecoverFundsButton.tsx @@ -157,13 +157,11 @@ function RecoverFundsButton({ if (!signer) return null; - const l1ChainId = getL1ChainIdFromL2ChainId(chain?.id); if ( - l1ChainId !== mainnet.id && - l1ChainId !== goerli.id && - l1ChainId !== sepolia.id + chain?.id !== mainnet.id && + chain?.id !== goerli.id && + chain?.id !== sepolia.id ) { - console.log(chain); return (