diff options
author | Sebastian <sebasjm@gmail.com> | 2023-11-16 18:53:08 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-11-16 18:53:08 -0300 |
commit | cb2059d73e9b94d7b4179680017b962d12fcf790 (patch) | |
tree | 71c12ffcc45d2645071fb625e5b4d7e07473352f /packages/aml-backoffice-ui/src/hooks | |
parent | d26743cabc0d629c225b7367b17aab871daf768b (diff) |
show better error message
Diffstat (limited to 'packages/aml-backoffice-ui/src/hooks')
-rw-r--r-- | packages/aml-backoffice-ui/src/hooks/useCaseDetails.ts | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/packages/aml-backoffice-ui/src/hooks/useCaseDetails.ts b/packages/aml-backoffice-ui/src/hooks/useCaseDetails.ts index 9db1e2aec..dbc6763ba 100644 --- a/packages/aml-backoffice-ui/src/hooks/useCaseDetails.ts +++ b/packages/aml-backoffice-ui/src/hooks/useCaseDetails.ts @@ -1,14 +1,8 @@ -import { - HttpResponse, - HttpResponseOk -} from "@gnu-taler/web-util/browser"; -import { AmlExchangeBackend } from "../types.js"; // FIX default import https://github.com/microsoft/TypeScript/issues/49189 import { AmountString, OfficerAccount, PaytoString, TalerExchangeApi, TalerExchangeResultByMethod, TalerHttpError } from "@gnu-taler/taler-util"; -import _useSWR, { SWRHook, useSWRConfig } from "swr"; +import _useSWR, { SWRHook } from "swr"; import { useExchangeApiContext } from "../context/config.js"; -import { usePublicBackend } from "./useBackend.js"; import { useOfficer } from "./useOfficer.js"; const useSWR = _useSWR as unknown as SWRHook; |