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 typearray
supplied toProvider
, 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>