diff options
Diffstat (limited to 'packages/merchant-backoffice-ui/src/paths/instance/transfers')
-rw-r--r-- | packages/merchant-backoffice-ui/src/paths/instance/transfers/list/index.tsx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/merchant-backoffice-ui/src/paths/instance/transfers/list/index.tsx b/packages/merchant-backoffice-ui/src/paths/instance/transfers/list/index.tsx index b53f67884..6c451aab8 100644 --- a/packages/merchant-backoffice-ui/src/paths/instance/transfers/list/index.tsx +++ b/packages/merchant-backoffice-ui/src/paths/instance/transfers/list/index.tsx @@ -28,6 +28,7 @@ import { useInstanceBankAccounts } from "../../../../hooks/bank.js"; import { useInstanceTransfers } from "../../../../hooks/transfer.js"; import { LoginPage } from "../../../login/index.js"; import { ListPage } from "./ListPage.js"; +import { NotFoundPageOrAdminCreate } from "../../../notfound/index.js"; interface Props { onCreate: () => void; @@ -79,8 +80,11 @@ export default function ListTransfer({ case HttpStatusCode.Unauthorized: { return <LoginPage /> } + case HttpStatusCode.NotFound: { + return <NotFoundPageOrAdminCreate />; + } default: { - assertUnreachable(result.case); + assertUnreachable(result); } } } |