diff --git a/src/status/InvoicePending.tsx b/src/status/InvoicePending.tsx index ddcfc4d6..378ddd4b 100644 --- a/src/status/InvoicePending.tsx +++ b/src/status/InvoicePending.tsx @@ -1,24 +1,12 @@ -import { Show } from "solid-js"; - -import BlockExplorer from "../components/BlockExplorer"; import LoadingSpinner from "../components/LoadingSpinner"; import { useGlobalContext } from "../context/Global"; -import { usePayContext } from "../context/Pay"; const InvoicePending = () => { const { t } = useGlobalContext(); - const { swap, swapStatusTransaction } = usePayContext(); return (

{t("invoice_pending")}

- - -
); }; diff --git a/src/status/TransactionConfirmed.tsx b/src/status/TransactionConfirmed.tsx index b9b3a618..fd0de28b 100644 --- a/src/status/TransactionConfirmed.tsx +++ b/src/status/TransactionConfirmed.tsx @@ -1,6 +1,3 @@ -import { Show } from "solid-js"; - -import BlockExplorer from "../components/BlockExplorer"; import ContractTransaction from "../components/ContractTransaction"; import LoadingSpinner from "../components/LoadingSpinner"; import { RBTC } from "../consts/Assets"; @@ -56,7 +53,7 @@ const ClaimRsk = ({ const TransactionConfirmed = () => { const { t } = useGlobalContext(); - const { swapStatusTransaction, swap } = usePayContext(); + const { swap } = usePayContext(); if (swap().assetReceive === RBTC) { if (swap().type === SwapType.Chain) { @@ -91,13 +88,6 @@ const TransactionConfirmed = () => {

{t("tx_confirmed")}

{t("tx_ready_to_claim")}

- - - ); };