diff --git a/frontend/components/ManageStakingPage/StakingContractSection/index.tsx b/frontend/components/ManageStakingPage/StakingContractSection/index.tsx index 53fd4901a..b07f07749 100644 --- a/frontend/components/ManageStakingPage/StakingContractSection/index.tsx +++ b/frontend/components/ManageStakingPage/StakingContractSection/index.tsx @@ -1,6 +1,5 @@ -import { Button, Divider, Flex, Popover, theme, Typography } from 'antd'; +import { Button, Flex, Popover, theme, Typography } from 'antd'; import { useMemo } from 'react'; -import styled from 'styled-components'; import { DeploymentStatus } from '@/client'; import { CardSection } from '@/components/styled/CardSection'; @@ -26,30 +25,30 @@ import { } from './alerts'; import { StakingContractTag } from './StakingContractTag'; -const { Text } = Typography; +// const { Text } = Typography; const { useToken } = theme; -const CustomDivider = styled(Divider)` - flex: auto; - width: max-content; - min-width: 0; - margin: 0; -`; - -const ContractParameter = ({ - label, - value, -}: { - label: string; - value: string; -}) => ( - - {label} - - {value} - -); +// const CustomDivider = styled(Divider)` +// flex: auto; +// width: max-content; +// min-width: 0; +// margin: 0; +// `; + +// const ContractParameter = ({ +// label, +// value, +// }: { +// label: string; +// value: string; +// }) => ( +// +// {label} +// +// {value} +// +// ); export const StakingContractSection = ({ stakingProgram, diff --git a/frontend/service/Autonolas.ts b/frontend/service/Autonolas.ts index 2a6b9c3fb..b0e9e74d6 100644 --- a/frontend/service/Autonolas.ts +++ b/frontend/service/Autonolas.ts @@ -89,7 +89,6 @@ const getAgentStakingRewardsInfo = async ({ ].calculateStakingReward(serviceId), serviceStakingTokenMechUsageContracts[stakingProgram].minStakingDeposit(), serviceStakingTokenMechUsageContracts[stakingProgram].tsCheckpoint(), - serviceStakingTokenMechUsageContracts[stakingProgram].minStakingDuration(), ]; await gnosisMulticallProvider.init(); @@ -105,7 +104,6 @@ const getAgentStakingRewardsInfo = async ({ accruedStakingReward, minStakingDeposit, tsCheckpoint, - minStakingDuration, ] = multicallResponse; /**