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 eec8832
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 23 deletions.
20 changes: 0 additions & 20 deletions dapp/src/components/TransactionModal/LoadingModal.tsx

This file was deleted.

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 eec8832

Please sign in to comment.