|
|
|
@ -4,6 +4,12 @@ import App from './components/app.js';
|
|
|
|
import { Provider } from 'react-redux'
|
|
|
|
import { Provider } from 'react-redux'
|
|
|
|
import store from './store.js'
|
|
|
|
import store from './store.js'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fetch('https://stupidcomments.herokuapp.com/comments').then(function(response){
|
|
|
|
|
|
|
|
response.json().then(function(data){
|
|
|
|
|
|
|
|
console.log(data);
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
ReactDOM.render(
|
|
|
|
ReactDOM.render(
|
|
|
|
<Provider store={store}>
|
|
|
|
<Provider store={store}>
|
|
|
|
<App/>
|
|
|
|
<App/>
|
|
|
|
|