diff --git a/dapp/src/pages/DashboardPage/TransactionHistory/EstimatedDuration.tsx b/dapp/src/pages/DashboardPage/TransactionHistory/EstimatedDuration.tsx index bd5b880f2..f831b4c19 100644 --- a/dapp/src/pages/DashboardPage/TransactionHistory/EstimatedDuration.tsx +++ b/dapp/src/pages/DashboardPage/TransactionHistory/EstimatedDuration.tsx @@ -1,11 +1,7 @@ import React from "react" import { Box, Tag, TagLabel, Flex, TagLeftIcon } from "@chakra-ui/react" import Spinner from "#/components/shared/Spinner" -import { - convertActivityTypeToLabel, - getEstimatedDuration, - isActivityCompleted, -} from "#/utils" +import { getEstimatedDuration, isActivityCompleted } from "#/utils" import { Activity } from "#/types" export default function EstimatedDuration({ @@ -26,7 +22,7 @@ export default function EstimatedDuration({ color="gold.400" emptyColor="brand.400" /> - {`${convertActivityTypeToLabel(activity.type)} transaction pending...`} + In progress... diff --git a/dapp/src/utils/activities.ts b/dapp/src/utils/activities.ts index 9197ff98e..7349a985b 100644 --- a/dapp/src/utils/activities.ts +++ b/dapp/src/utils/activities.ts @@ -30,9 +30,3 @@ export function getEstimatedDuration( return "3 hours" } - -export function convertActivityTypeToLabel(type: ActivityType): string { - if (isWithdrawType(type)) return "Unstaking" - - return "Staking" -}