diff --git a/dapp/src/components/TransactionModal/LoadingModal.tsx b/dapp/src/components/TransactionModal/LoadingModal.tsx deleted file mode 100644 index fc122edff..000000000 --- a/dapp/src/components/TransactionModal/LoadingModal.tsx +++ /dev/null @@ -1,20 +0,0 @@ -import React from "react" -import { ModalBody, ModalHeader, VStack } from "@chakra-ui/react" -import Spinner from "#/components/shared/Spinner" -import Skeleton from "#/components/shared/Skeleton" - -export default function LoadingModal() { - return ( - <> - Loading... - - - - - - - - - - ) -} diff --git a/dapp/src/components/TransactionModal/ModalContentWrapper.tsx b/dapp/src/components/TransactionModal/ModalContentWrapper.tsx index bf08288a4..b3d017ea2 100644 --- a/dapp/src/components/TransactionModal/ModalContentWrapper.tsx +++ b/dapp/src/components/TransactionModal/ModalContentWrapper.tsx @@ -7,7 +7,6 @@ import { BaseModalProps, PROCESS_STATUSES } from "#/types" import React from "react" import ActionFormModal from "./ActionFormModal" import ErrorModal from "./ErrorModal" -import LoadingModal from "./LoadingModal" import ResumeModal from "./ResumeModal" import SuccessModal from "./SuccessModal" import NotEnoughFundsModal from "./ActiveUnstakingStep/NotEnoughFundsModal" @@ -25,8 +24,6 @@ export default function ModalContentWrapper({ if (!tokenAmount || status === PROCESS_STATUSES.REFINE_AMOUNT) return - if (status === PROCESS_STATUSES.LOADING) return - if (status === PROCESS_STATUSES.SUCCEEDED) return if (status === PROCESS_STATUSES.FAILED)