diff options
Diffstat (limited to 'packages/merchant-backoffice-ui/src/paths/instance/reserves/details/index.tsx')
-rw-r--r-- | packages/merchant-backoffice-ui/src/paths/instance/reserves/details/index.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/merchant-backoffice-ui/src/paths/instance/reserves/details/index.tsx b/packages/merchant-backoffice-ui/src/paths/instance/reserves/details/index.tsx index 57ee566d1..e7ec68fab 100644 --- a/packages/merchant-backoffice-ui/src/paths/instance/reserves/details/index.tsx +++ b/packages/merchant-backoffice-ui/src/paths/instance/reserves/details/index.tsx @@ -19,9 +19,10 @@ * @author Sebastian Javier Marchano (sebasjm) */ +import { HttpError } from "@gnu-taler/web-util/lib/index.browser.js"; import { Fragment, h, VNode } from "preact"; import { Loading } from "../../../../components/exception/loading.js"; -import { HttpError } from "../../../../utils/request.js"; +import { MerchantBackend } from "../../../../declaration.js"; import { useReserveDetails } from "../../../../hooks/reserves.js"; import { DetailPage } from "./DetailPage.js"; @@ -29,7 +30,7 @@ interface Props { rid: string; onUnauthorized: () => VNode; - onLoadError: (error: HttpError) => VNode; + onLoadError: (error: HttpError<MerchantBackend.ErrorDetail>) => VNode; onNotFound: () => VNode; onDelete: () => void; onBack: () => void; |