diff --git a/src/createMainContainer.js b/src/createMainContainer.js
index b6db9e9..d09272d 100644
--- a/src/createMainContainer.js
+++ b/src/createMainContainer.js
@@ -2,6 +2,7 @@ import React, {PropTypes} from 'react'
import {Router, Route} from 'react-router'
const createMainContainer = (MainRoute, apps, MainContainer) =>{
+// console.log('createMainContainer', MainRoute, apps, MainContainer)
const Container = (props) =>{
for (let appName in apps) {
const app = apps[appName]
@@ -34,7 +35,7 @@ const createMainContainer = (MainRoute, apps, MainContainer) =>{
}
return
-
+
{MainRoute}
diff --git a/src/index.js b/src/index.js
index e51169d..ddf924a 100644
--- a/src/index.js
+++ b/src/index.js
@@ -8,6 +8,7 @@ import menuCreator from './menu'
export {createMainContainer} from './createMainContainer'
export default function (appDef) {
+// console.log('ProvideAppCrud.appDef', appDef)
const components = {}
const providers = {}
const componentRoutes = []
diff --git a/src/menu.js b/src/menu.js
index b1f8a83..c1f47d1 100644
--- a/src/menu.js
+++ b/src/menu.js
@@ -8,13 +8,13 @@ export default function (appDef) {
} = appDef
const AppMenu = (props) =>{
const {pushRoute} = props
- const buttons = appDef.components.map((component, index) =>{
- const {componentName} = component
- const componentProperName = componentName[0].toUpperCase() +
- componentName.substring(1)
- return