From cf3defbc93cf2ded53ef6e9f098f3b24ef9504a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20Salgado?= Date: Tue, 8 Jun 2021 17:18:13 +0100 Subject: [PATCH] feat: separate pazuz and lamassu routing tree fix: routes.js routing tree getter --- .../src/components/layout/Header.js | 4 - .../src/routing/lamassu.routes.js | 256 ++++++++++++++ new-lamassu-admin/src/routing/pazuz.routes.js | 267 +++++++++++++++ new-lamassu-admin/src/routing/routes.js | 324 +----------------- 4 files changed, 540 insertions(+), 311 deletions(-) create mode 100644 new-lamassu-admin/src/routing/lamassu.routes.js create mode 100644 new-lamassu-admin/src/routing/pazuz.routes.js diff --git a/new-lamassu-admin/src/components/layout/Header.js b/new-lamassu-admin/src/components/layout/Header.js index d8b8fa6a..1c567359 100644 --- a/new-lamassu-admin/src/components/layout/Header.js +++ b/new-lamassu-admin/src/components/layout/Header.js @@ -21,8 +21,6 @@ import styles from './Header.styles' const useStyles = makeStyles(styles) -const buildTarget = process.env.REACT_APP_BUILD_TARGET - const HAS_UNREAD = gql` query getUnread { hasUnreadNotifications @@ -39,7 +37,6 @@ const Subheader = ({ item, classes, user }) => {