diff --git a/packages/admin-ui/src/pages/stakers/components/StakerNetwork.tsx b/packages/admin-ui/src/pages/stakers/components/StakerNetwork.tsx index d5eea417d..b4831d4aa 100644 --- a/packages/admin-ui/src/pages/stakers/components/StakerNetwork.tsx +++ b/packages/admin-ui/src/pages/stakers/components/StakerNetwork.tsx @@ -16,12 +16,11 @@ import Button from "components/Button"; import { disclaimer } from "../data"; import Loading from "components/Loading"; import { responseInterface } from "swr"; -import { Alert, Form } from "react-bootstrap"; +import { Alert } from "react-bootstrap"; import "./columns.scss"; import { AppContext } from "App"; import LaunchpadValidators from "./launchpad/LaunchpadValidators"; import { FaEthereum } from "react-icons/fa"; -import Input from "components/Input"; import { Network } from "@dappnode/types"; import { useStakerConfig } from "./useStakerConfig"; import { AlertDismissible } from "components/AlertDismissible"; @@ -45,11 +44,8 @@ export default function StakerNetwork({ showLaunchpadValidators, setShowLaunchpadValidators, allStakerItemsOk, - feeRecipientError, reqStatus, setReqStatus, - newFeeRecipient, - setNewFeeRecipient, newExecClient, setNewExecClient, newConsClient, @@ -108,7 +104,6 @@ export default function StakerNetwork({ api.stakerConfigSet({ stakerConfig: { network, - feeRecipient: newFeeRecipient, executionClient: newExecClient?.status === "ok" ? { ...newExecClient, data: undefined } @@ -177,21 +172,6 @@ export default function StakerNetwork({

{description}

- <> - - {newFeeRecipient && feeRecipientError && ( - - {feeRecipientError} - - )} - - Execution Clients @@ -302,15 +282,12 @@ export default function StakerNetwork({ } setNewConfig={setNewConfig} setShowLaunchpadValidators={setShowLaunchpadValidators} - setNewFeeRecipient={setNewFeeRecipient} - newFeeRecipient={newFeeRecipient} setNewExecClient={setNewExecClient} setNewConsClient={setNewConsClient} setNewMevBoost={setNewMevBoost} newExecClient={newExecClient} newConsClient={newConsClient} newMevBoost={newMevBoost} - feeRecipientError={feeRecipientError} /> )} diff --git a/packages/admin-ui/src/pages/stakers/components/launchpad/LaunchpadSteps.tsx b/packages/admin-ui/src/pages/stakers/components/launchpad/LaunchpadSteps.tsx index 0e00c4022..722cf74fb 100644 --- a/packages/admin-ui/src/pages/stakers/components/launchpad/LaunchpadSteps.tsx +++ b/packages/admin-ui/src/pages/stakers/components/launchpad/LaunchpadSteps.tsx @@ -6,8 +6,6 @@ import MevBoost from "../columns/MevBoost"; import { StakerConfigGetOk, StakerItemOk } from "@dappnode/common"; import { disclaimer } from "pages/stakers/data"; import RenderMarkdown from "components/RenderMarkdown"; -import { InputForm } from "components/InputForm"; -import Input from "components/Input"; import { Network } from "@dappnode/types"; export const launchpadSteps = ({ @@ -15,22 +13,17 @@ export const launchpadSteps = ({ stakerConfig, setNewConfig, setShowLaunchpadValidators, - setNewFeeRecipient, - newFeeRecipient, setNewExecClient, newExecClient, setNewConsClient, newConsClient, setNewMevBoost, - newMevBoost, - feeRecipientError + newMevBoost }: { network: T; stakerConfig: StakerConfigGetOk; setNewConfig(isLaunchpad: boolean): Promise; setShowLaunchpadValidators: React.Dispatch>; - setNewFeeRecipient: React.Dispatch>; - newFeeRecipient: string; setNewExecClient: React.Dispatch< React.SetStateAction | undefined> >; @@ -43,7 +36,6 @@ export const launchpadSteps = ({ setNewMevBoost: React.Dispatch< React.SetStateAction | undefined> >; - feeRecipientError: string | null; }) => [ { title: "Create the validator keystores and do the deposit", @@ -105,28 +97,6 @@ export const launchpadSteps = ({ ) }, - { - title: "Set the default Fee Recipient", - description: - "Set the default fee recipient for the validator(s). The fee recipient is the address that will receive the validator's fees. You can change it at any time.", - component: ( - - ) - }, { title: "Enable MEV boost and select its relays", description: @@ -146,13 +116,6 @@ export const launchpadSteps = ({ description: `This is a summary of the staker configuration you have selected. If you are happy with it, click on the "next" button.`, component: (
- {newFeeRecipient && ( - {}} - /> - )} {newExecClient && ( executionClient={newExecClient} @@ -189,7 +152,7 @@ export const launchpadSteps = ({