Adding routes for modules
This commit is contained in:
1 parent
3573965244
commit
45c1ba6805
5 files changed
+99
-8
No files matched your search
+6
-2
@@ -14,7 +14,7 @@ import Auth from './auth'
|
||||
import { Header, Footer, Home, Callback } from './views'
|
||||
|
||||
import Teams from '@advancedalgos/teams-client'
|
||||
// import KeyVault from '@advancedalgos/key-vault-client'
|
||||
import KeyVault from '@advancedalgos/key-vault-client'
|
||||
|
||||
export const auth = new Auth(
|
||||
result => console.log('auth result', result),
|
||||
@@ -42,7 +42,11 @@ export const MasterApp = () => (
|
||||
path='/teams'
|
||||
render={props => <Teams {...props} auth={auth} />}
|
||||
/>
|
||||
{/* <Route exact path='/key-vault' component={KeyVault} /> */}
|
||||
<Route
|
||||
exact
|
||||
path='/key-vault'
|
||||
render={props => <KeyVault {...props} auth={auth} />}
|
||||
/>
|
||||
</Switch>
|
||||
<Footer />
|
||||
</div>
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
/* eslint-disable no-unused-vars */
|
||||
import React from 'react'
|
||||
import ReactDOM from 'react-dom'
|
||||
|
||||
import MasterApp from './App'
|
||||
|
||||
if (process.env.NODE_ENV !== 'production') {
|
||||
|
||||
Reference in new issue
Block a user