From 9df2547ccf74d7cf5294e16a5f5f7c074dd301b7 Mon Sep 17 00:00:00 2001
From: Sebastian <sebasjm@gmail.com>
Date: Wed, 26 Apr 2023 10:37:11 -0300
Subject: fix endpoint

---
 packages/demobank-ui/src/pages/Routing.tsx | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

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

diff --git a/packages/demobank-ui/src/pages/Routing.tsx b/packages/demobank-ui/src/pages/Routing.tsx
index 27aae69e9..d3aaae542 100644
--- a/packages/demobank-ui/src/pages/Routing.tsx
+++ b/packages/demobank-ui/src/pages/Routing.tsx
@@ -51,13 +51,7 @@ export function Routing(): VNode {
         />
         <Route
           path="/public-accounts"
-          component={() => (
-            <PublicHistoriesPage
-              onLoadNotOk={() => {
-                route("/account");
-              }}
-            />
-          )}
+          component={() => <PublicHistoriesPage />}
         />
         <Route
           path="/register"
-- 
cgit v1.2.3

