This repository has been archived on 2018-10-12. You can view files and clone it, but cannot push or open issues or pull requests.
image-juicer/app/containers/Root.js
2017-04-06 17:18:27 -04:00

13 lines
314 B
JavaScript

import React from 'react';
import { Provider } from 'react-redux';
import { Router } from 'react-router';
import routes from '../routes';
export default function Root(props) {
return (
<Provider store={props.store}>
<Router key={Math.random()} history={props.history} routes={routes} />
</Provider>
);
}