diff options
Diffstat (limited to 'packages/merchant-backoffice-ui/src/paths/instance/templates/use/index.tsx')
-rw-r--r-- | packages/merchant-backoffice-ui/src/paths/instance/templates/use/index.tsx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/merchant-backoffice-ui/src/paths/instance/templates/use/index.tsx b/packages/merchant-backoffice-ui/src/paths/instance/templates/use/index.tsx index 0073ca574..d631cef96 100644 --- a/packages/merchant-backoffice-ui/src/paths/instance/templates/use/index.tsx +++ b/packages/merchant-backoffice-ui/src/paths/instance/templates/use/index.tsx @@ -35,6 +35,7 @@ import { import { Notification } from "../../../../utils/types.js"; import { NotFoundPageOrAdminCreate } from "../../../notfound/index.js"; import { UsePage } from "./UsePage.js"; +import { LoginPage } from "../../../login/index.js"; export type Entity = TalerMerchantApi.TransferInformation; interface Props { @@ -62,8 +63,11 @@ export default function TemplateUsePage({ case HttpStatusCode.NotFound: { return <NotFoundPageOrAdminCreate /> } + case HttpStatusCode.Unauthorized: { + return <LoginPage /> + } default: { - assertUnreachable(result.case) + assertUnreachable(result) } } } |