mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-23 18:13:53 +03:00
15 lines
304 B
JavaScript
15 lines
304 B
JavaScript
|
import React, { Component } from 'react';
|
||
|
import { Provider } from 'react-redux';
|
||
|
import TodoApp from './TodoApp';
|
||
|
|
||
|
export default class Root extends Component {
|
||
|
render() {
|
||
|
const { store } = this.props;
|
||
|
return (
|
||
|
<Provider store={store}>
|
||
|
<TodoApp />
|
||
|
</Provider>
|
||
|
);
|
||
|
}
|
||
|
}
|