summaryrefslogtreecommitdiff
path: root/packages/merchant-backoffice-ui/src/paths/instance/orders/details/index.tsx
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2024-04-03 15:31:28 -0300
committerSebastian <sebasjm@gmail.com>2024-04-03 15:31:28 -0300
commitc7e68c254aa93778b8201227d6db1ac57e081e81 (patch)
treeb5d34651a8d17180826dcd4f09bb808f2f080b21 /packages/merchant-backoffice-ui/src/paths/instance/orders/details/index.tsx
parent4bf1ab8ba924b2a0fc4813814bdeeb66a2928382 (diff)
downloadwallet-core-c7e68c254aa93778b8201227d6db1ac57e081e81.tar.gz
wallet-core-c7e68c254aa93778b8201227d6db1ac57e081e81.tar.bz2
wallet-core-c7e68c254aa93778b8201227d6db1ac57e081e81.zip
wip #8655: unauthorized not documented
Diffstat (limited to 'packages/merchant-backoffice-ui/src/paths/instance/orders/details/index.tsx')
-rw-r--r--packages/merchant-backoffice-ui/src/paths/instance/orders/details/index.tsx4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/merchant-backoffice-ui/src/paths/instance/orders/details/index.tsx b/packages/merchant-backoffice-ui/src/paths/instance/orders/details/index.tsx
index 1c8ceb90e..b232a146b 100644
--- a/packages/merchant-backoffice-ui/src/paths/instance/orders/details/index.tsx
+++ b/packages/merchant-backoffice-ui/src/paths/instance/orders/details/index.tsx
@@ -32,6 +32,7 @@ import { useOrderDetails } from "../../../../hooks/order.js";
import { Notification } from "../../../../utils/types.js";
import { NotFoundPageOrAdminCreate } from "../../../notfound/index.js";
import { DetailPage } from "./DetailPage.js";
+import { LoginPage } from "../../../login/index.js";
export interface Props {
oid: string;
@@ -63,6 +64,9 @@ export default function Update({ oid, onBack }: Props): VNode {
<div>The merchant's interaction with the exchange took too long</div>
);
}
+ case HttpStatusCode.Unauthorized: {
+ return <LoginPage />
+ }
default: {
assertUnreachable(result);
}