fix: remove extra log
This commit is contained in:
parent
cf3defbc93
commit
468f2cb28b
1 changed files with 0 additions and 3 deletions
|
|
@ -16,7 +16,6 @@ import Login from 'src/pages/Authentication/Login'
|
|||
import Register from 'src/pages/Authentication/Register'
|
||||
import Reset2FA from 'src/pages/Authentication/Reset2FA'
|
||||
import ResetPassword from 'src/pages/Authentication/ResetPassword'
|
||||
// import ConfigMigration from 'src/pages/ConfigMigration'
|
||||
import Dashboard from 'src/pages/Dashboard'
|
||||
import Machines from 'src/pages/Machines'
|
||||
import Wizard from 'src/pages/Wizard'
|
||||
|
|
@ -49,8 +48,6 @@ const getTree = () => {
|
|||
|
||||
const tree = getTree()
|
||||
|
||||
console.log('tree', tree)
|
||||
|
||||
const map = R.map(R.when(R.has('children'), R.prop('children')))
|
||||
const mappedRoutes = R.compose(R.flatten, map)(tree)
|
||||
const parentRoutes = R.filter(R.has('children'))(mappedRoutes).concat(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue