Move API calls into helpers
mcataford opened this issue · 1 comments
mcataford commented
Is your feature request related to a problem? Please describe.
The API calls in jenkinstl/components/Dashboard.js
are embedded into the component's code, which makes either hard to read and isn't very modular.
Describe the solution you'd like
The API calls should be split off from the component and implemented as helpers.
Additional context
mcataford commented
Perhaps a good way to do this would be to throw in redux
.