fix: remove extra log

This commit is contained in:
Sérgio Salgado 2021-06-09 19:49:34 +01:00 committed by Josh Harvey
parent cf3defbc93
commit 468f2cb28b

View file

@ -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(