Open senner007 opened 3 years ago
User story
Who: As a user What: I want to see the candidates added and removed immediately Why: so that reloading of the page is not necessary
Issue: The context state is never changed to false in useCandidates if there are no candidates to retrieve
Implementation fix details: Change the candidates get route to not return 404 when there are no candidates but instead return an empty array.
User story
Who: As a user What: I want to see the candidates added and removed immediately Why: so that reloading of the page is not necessary
Issue: The context state is never changed to false in useCandidates if there are no candidates to retrieve
Implementation fix details: Change the candidates get route to not return 404 when there are no candidates but instead return an empty array.