Invalid prop children in Provider

You have a , after <Router history={browserHistory} routes={Routes} />

Try removing it?


The same error:

Warning: Failed prop type: Invalid prop children of type array supplied to Provider, expected a single ReactElement.

Uncaught Error: React.Children.only expected to receive a single React element child.

Occurs to me in writing Provider with this format:

<Provider store={store}> <App4Connected /> </Provider>

instead the following works correctly:

<Provider store={store}>
    <App4Connected />
</Provider>