Remove constants
This commit is contained in:
1 parent
10303b4f16
commit
af9c210f91
3 files changed
+2
-5
No files matched your search
+1
-3
@@ -20,8 +20,6 @@ import Events from '@advancedalgos/events-client'
|
||||
import KeyVault from '@advancedalgos/key-vault-client'
|
||||
import FinancialBeings from '@advancedalgos/financial-beings-client'
|
||||
|
||||
import { FINANCIAL_BEINGS } from './constants/routes'
|
||||
|
||||
export const auth = new Auth(
|
||||
result => console.log('Authentication successful.'),
|
||||
client
|
||||
@@ -71,7 +69,7 @@ export const MasterApp = props => (
|
||||
render={props => <Events {...props} auth={auth} />}
|
||||
/>
|
||||
<Route
|
||||
path={FINANCIAL_BEINGS}
|
||||
path='/financial-beings'
|
||||
render={props => <FinancialBeings {...props} auth={auth}/>}
|
||||
/>
|
||||
<Route
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
export const FINANCIAL_BEINGS = '/financial-beings'
|
||||
@@ -66,7 +66,7 @@ const keyvaultMenus = {
|
||||
|
||||
const financialBeingsMenus = {
|
||||
title: 'Financial beings',
|
||||
to: FINANCIAL_BEINGS,
|
||||
to: '/financial-beings',
|
||||
authenticated: false,
|
||||
submenus: []
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user