diff --git a/src/entry.js b/src/entry.js index 2c5b55dc..d3a95e16 100644 --- a/src/entry.js +++ b/src/entry.js @@ -16,7 +16,7 @@ const render = () => { ) } -// window.localStorage.clear() +window.localStorage.clear() render() store.subscribe(render) diff --git a/src/util/api.js b/src/util/api.js index 836419e8..3ae11605 100644 --- a/src/util/api.js +++ b/src/util/api.js @@ -154,9 +154,9 @@ const getSummaryRequests = params => { const getUcrParticipation = place => { const state = lookupUsa(place).toUpperCase() - return get(`${API}/geo/states/${state}/participation`).then(results => ({ + return get(`${API}/geo/states/${state}/participation`).then(response => ({ place: slugify(place), - results, + results: response.results, })) }