diff options
Diffstat (limited to 'packages/taler-wallet-webextension/src/cta/Refund/state.ts')
-rw-r--r-- | packages/taler-wallet-webextension/src/cta/Refund/state.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/packages/taler-wallet-webextension/src/cta/Refund/state.ts b/packages/taler-wallet-webextension/src/cta/Refund/state.ts index e520be8e5..8d36b61ea 100644 --- a/packages/taler-wallet-webextension/src/cta/Refund/state.ts +++ b/packages/taler-wallet-webextension/src/cta/Refund/state.ts @@ -14,7 +14,6 @@ GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/> */ - import { Amounts, NotificationType } from "@gnu-taler/taler-util"; import { useEffect, useState } from "preact/hooks"; import { useAsyncAsHook } from "../../hooks/useAsyncAsHook.js"; @@ -40,7 +39,7 @@ export function useComponentState( }); if (!info) { - return { status: "loading", error: undefined } + return { status: "loading", error: undefined }; } if (info.hasError) { return { @@ -67,7 +66,7 @@ export function useComponentState( products: info.response.refund.info.products, awaitingAmount: Amounts.parseOrThrow(refund.awaiting), error: undefined, - } + }; if (ignored) { return { |