From 15e953788e27ecb880068b40aaba292a5fa2633e Mon Sep 17 00:00:00 2001 From: Jose Sousa Date: Tue, 8 Dec 2020 11:32:18 +0000 Subject: [PATCH] chore: updated after third level routing --- new-lamassu-admin/src/routing/routes.js | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/new-lamassu-admin/src/routing/routes.js b/new-lamassu-admin/src/routing/routes.js index f8794710..3f01b463 100644 --- a/new-lamassu-admin/src/routing/routes.js +++ b/new-lamassu-admin/src/routing/routes.js @@ -141,7 +141,14 @@ const tree = [ route: '/settings/operator-info', title: 'Operator Information', get component() { - return () => + return () => ( + + ) }, children: [ { @@ -266,7 +273,7 @@ const Routes = () => { history.push('/wizard') } - const Transition = history.action === 'PUSH' && location.state ? Slide : Fade + const Transition = location.state ? Slide : Fade const transitionProps = Transition === Slide