From fff43ad0ede5725271ef99c68e3c9358cd68c501 Mon Sep 17 00:00:00 2001
From: Sebastian <sebasjm@gmail.com>
Date: Wed, 7 Dec 2022 12:50:54 -0300
Subject: fix: updating the title is better that location.hash

---
 packages/demobank-ui/src/pages/Routing.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(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 7f079a7de..6b00df97b 100644
--- a/packages/demobank-ui/src/pages/Routing.tsx
+++ b/packages/demobank-ui/src/pages/Routing.tsx
@@ -28,7 +28,7 @@ export function Routing(): VNode {
     <Router history={history}>
       <Route path="/public-accounts" component={PublicHistoriesPage} />
       <Route path="/register" component={RegistrationPage} />
-      <Route path="/account/:id*" component={AccountPage} />
+      <Route path="/account" component={AccountPage} />
       <Route default component={Redirect} to="/account" />
     </Router>
   );
-- 
cgit v1.2.3

