diff options
Diffstat (limited to 'packages/taler-wallet-webextension/src/cta/Refund/index.ts')
-rw-r--r-- | packages/taler-wallet-webextension/src/cta/Refund/index.ts | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/packages/taler-wallet-webextension/src/cta/Refund/index.ts b/packages/taler-wallet-webextension/src/cta/Refund/index.ts index e90f770ff..bbb72c328 100644 --- a/packages/taler-wallet-webextension/src/cta/Refund/index.ts +++ b/packages/taler-wallet-webextension/src/cta/Refund/index.ts @@ -21,7 +21,7 @@ import { ErrorAlert } from "../../context/alert.js"; import { ButtonHandler } from "../../mui/handlers.js"; import { compose, StateViewMap } from "../../utils/index.js"; import { useComponentState } from "./state.js"; -import { IgnoredView, InProgressView, ReadyView } from "./views.js"; +import { IgnoredView, ReadyView } from "./views.js"; export interface Props { talerRefundUri?: string; @@ -33,8 +33,8 @@ export type State = | State.Loading | State.LoadingUriError | State.Ready - | State.Ignored - | State.InProgress; + // | State.InProgress + | State.Ignored; export namespace State { export interface Loading { @@ -51,8 +51,8 @@ export namespace State { merchantName: string; products: Product[] | undefined; amount: AmountJson; - awaitingAmount: AmountJson; - granted: AmountJson; + // awaitingAmount: AmountJson; + // granted: AmountJson; } export interface Ready extends BaseInfo { @@ -69,16 +69,16 @@ export namespace State { status: "ignored"; error: undefined; } - export interface InProgress extends BaseInfo { - status: "in-progress"; - error: undefined; - } + // export interface InProgress extends BaseInfo { + // status: "in-progress"; + // error: undefined; + // } } const viewMapping: StateViewMap<State> = { loading: Loading, error: ErrorAlertView, - "in-progress": InProgressView, + // "in-progress": InProgressView, ignored: IgnoredView, ready: ReadyView, }; |