codefordenver / partner-finder

Using an open dataset with registered colorado business to build a tool that manages outreach to potential CFD partners.
3 stars 14 forks source link

Refactor home component to get tags from the /leads endpoint #214

Closed galbwe closed 2 years ago

galbwe commented 2 years ago

The home component currently makes an http request to the /leads/{id}/tags endpoint for each lead in the table. This is excessive. Now that the /leads endpoint returns tags for each lead, we can make one http request to that endpoint.