import React, { Component, PropTypes, cloneElement } from 'react'
import {Provider} from 'react-redux'

// import DevTools from './devtools'
import Notifications from './notifications'

export default class Root extends Component {
	static propTypes = {
		children: PropTypes.node,
		store: PropTypes.object.isRequired,
	};

	render() {
		return (
			<Provider store={this.props.store}>
				<div>
					{cloneElement(this.props.children)}
					<Notifications />
					{/*<DevTools />*/}
				</div>
			</Provider>
		)
	}
}

@@ -400,21 +400,8 @@
 %09%09%09%7B
-cloneElement(
 this
@@ -415,17 +415,16 @@
 children
-)
 %7D%0A%09%09%09%09%09%3C

stop calling cloneElement on Root in root-dev