refactor DataArea
Closed this issue · 0 comments
joshuajhun commented
- turn it into a class and take the api call out of Data
- refactor these lines https://github.com/patrickjneel/Summit-County-Precincts-/blob/master/src/containers/dataArea/DataArea.js#L8-L27. You have opportunities to make this more declarative.