This repository was archived by the owner on Apr 11, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed
config/generators/container Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ export const routes = {
2222 } ,
2323 } ,
2424 childRoutes : [
25+ /* GENERATOR: Newly generated Routes go here */
2526 {
2627 path : '*' ,
2728 getComponent ( location , callback ) {
@@ -31,7 +32,6 @@ export const routes = {
3132 } ) ;
3233 } ,
3334 } ,
34- /* GENERATOR: Newly generated Routes go here */
3535 ] ,
3636} ;
3737
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ import { initialState as landing } from './containers/LandingContainer/reducer';
1313import { initialState as app } from './containers/AppContainer/reducer' ;
1414
1515const initialState = {
16- app,
1716 /* GENERATOR: Compile all of your initial state */
17+ app,
1818 landing,
1919} ;
2020
Original file line number Diff line number Diff line change 1- import React, { Component } from 'react';
1+ import React, { Component, PropTypes } from 'react';
22{{ #if wantActionsAndReducer }}
33import { connect } from 'react-redux';
44import { bindActionCreators } from 'redux';
@@ -26,6 +26,10 @@ class {{ properCase name }}Container extends Component { // eslint-disable-line
2626 }
2727}
2828
29+ {{ properCase name }} Container.propTypes = {
30+ // isLoading: PropTypes.bool.isRequired,
31+ }
32+
2933{{ #if wantActionsAndReducer }}
3034// mapStateToProps :: {State} -> {Props}
3135const mapStateToProps = (state) => ({
You can’t perform that action at this time.
0 commit comments