Skip to content

Commit

Permalink
Remove LoadingModal from the deposit/withdrawal flow
Browse files Browse the repository at this point in the history
  • Loading branch information
kkosiorowska committed Oct 30, 2024
1 parent 94bc51f commit 3952c51
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions dapp/src/components/TransactionModal/ModalContentWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -25,8 +24,6 @@ export default function ModalContentWrapper({
if (!tokenAmount || status === PROCESS_STATUSES.REFINE_AMOUNT)
return <ActionFormModal type={type} />

if (status === PROCESS_STATUSES.LOADING) return <LoadingModal />

if (status === PROCESS_STATUSES.SUCCEEDED) return <SuccessModal type={type} />

if (status === PROCESS_STATUSES.FAILED)
Expand Down

0 comments on commit 3952c51

Please sign in to comment.