@@ -18,10 +18,10 @@ import SendChatLog from './SendChatLog'
export const createRoutes = (store) => ({
path: '/',
component: Layout,
- indexRoute: Login,
+ indexRoute: Login(store),
childRoutes: [
counterRoute(store),
- Home,
+ Home(store),
UserMessage,
ExpertView,
FindPatientView,