diff options
Diffstat (limited to 'packages/demobank-ui/src/pages/admin/RemoveAccount.tsx')
-rw-r--r-- | packages/demobank-ui/src/pages/admin/RemoveAccount.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/demobank-ui/src/pages/admin/RemoveAccount.tsx b/packages/demobank-ui/src/pages/admin/RemoveAccount.tsx index 4aa17e302..89f634080 100644 --- a/packages/demobank-ui/src/pages/admin/RemoveAccount.tsx +++ b/packages/demobank-ui/src/pages/admin/RemoveAccount.tsx @@ -43,6 +43,7 @@ export function RemoveAccount({ switch (result.case) { case "unauthorized": return <LoginForm reason="forbidden" /> case "not-found": return <LoginForm reason="not-found" /> + case "no-rights": return <LoginForm reason="not-found" /> default: assertUnreachable(result) } } |