Adding MinerModule
This commit is contained in:
1 parent
b20bb2cfe4
commit
2db587ea12
5 files changed
+33
-9
No files matched your search
@@ -21,6 +21,7 @@ import KeyVault from '@superalgos/key-vault-client'
|
||||
import FinancialBeings from '@advancedalgos/financial-beings-client'
|
||||
import Operations from '@superalgos/operations-client'
|
||||
import Logs from '@superalgos/logs-client'
|
||||
import Miners from '@superalgos/miners-client'
|
||||
|
||||
export const auth = new Auth(
|
||||
result => console.log('Authentication successful.'),
|
||||
@@ -86,6 +87,10 @@ export const MasterApp = props => (
|
||||
path='/logs'
|
||||
render={props => <Logs {...props} auth={auth} />}
|
||||
/>
|
||||
<Route
|
||||
path='/miners'
|
||||
render={props => <Miners {...props} auth={auth} />}
|
||||
/>
|
||||
</Switch>
|
||||
</Layout>
|
||||
</MuiThemeProvider>
|
||||
|
||||
@@ -73,6 +73,16 @@ const operationsMenus = {
|
||||
]
|
||||
}
|
||||
|
||||
const minersMenus = {
|
||||
title: 'Miners',
|
||||
to: '/miners',
|
||||
icon: Home,
|
||||
authenticated: false,
|
||||
submenus: [
|
||||
{ title: 'Report a Bug', to: 'https://github.com/Superalgos/minersClient/issues/new', icon: BugReport, externalLink: true }
|
||||
]
|
||||
}
|
||||
|
||||
// const financialBeingsMenus = {
|
||||
// title: 'FBs',
|
||||
// to: '/financial-beings',
|
||||
@@ -89,7 +99,8 @@ const allMenus = [
|
||||
eventsMenus,
|
||||
// financialBeingsMenus,
|
||||
keyvaultMenus,
|
||||
operationsMenus
|
||||
operationsMenus,
|
||||
minersMenus
|
||||
]
|
||||
|
||||
export default allMenus
|
||||
Reference in new issue
Block a user