diff --git a/js/index.js b/js/index.js index 2675fc4..5761e3b 100644 --- a/js/index.js +++ b/js/index.js @@ -4,6 +4,12 @@ import App from './components/app.js'; import { Provider } from 'react-redux' import store from './store.js' +fetch('https://stupidcomments.herokuapp.com/comments').then(function(response){ + response.json().then(function(data){ + console.log(data); + }); +}); + ReactDOM.render(