From dfd23f63ba40a2afb0cb41bf742b0ae647a2b38c Mon Sep 17 00:00:00 2001
From: Sebastian <sebasjm@gmail.com>
Date: Fri, 22 Sep 2023 12:41:43 -0300
Subject: more ui

---
 packages/demobank-ui/src/pages/admin/Home.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'packages/demobank-ui/src/pages/admin/Home.tsx')

diff --git a/packages/demobank-ui/src/pages/admin/Home.tsx b/packages/demobank-ui/src/pages/admin/Home.tsx
index 625a49d45..5033b7fdc 100644
--- a/packages/demobank-ui/src/pages/admin/Home.tsx
+++ b/packages/demobank-ui/src/pages/admin/Home.tsx
@@ -35,7 +35,7 @@ export function AdminHome({ onRegister }: Props): VNode {
 
   if (action) {
     switch (action.type) {
-      case "show-details": return <ShowCashoutDetails
+      case "show-cashouts-details": return <ShowCashoutDetails
         id={action.account}
         onLoadNotOk={handleNotOkResult(i18n, onRegister)}
         onCancel={() => {
@@ -93,7 +93,7 @@ export function AdminHome({ onRegister }: Props): VNode {
           setAction(undefined);
         }}
       />
-      case "show-cashouts-details": return <ShowAccountDetails
+      case "show-details": return <ShowAccountDetails
         account={action.account}
         onLoadNotOk={handleNotOkResult(i18n, onRegister)}
         onChangePassword={() => {
-- 
cgit v1.2.3

