nss-evening-cohort-11 / nutshell-ewoks-droids

Star Destroyer
0 stars 2 forks source link

Sectors Delete #23

Closed ToddSpainhour closed 4 years ago

ToddSpainhour commented 4 years ago

USER STORY

As a user, when I am on the page I should see the sectors cards

AC

WHEN the page loads I should see all cards THEN click a button to delete a card AND and page should reload reflecting the change

WIREFRAMES

DEV NOTES


1. Create a bootstrap button
1. the button should have an id of `delete-sector`
1. it should run a function called `deleteSector`
1. it sould make the axios delete call 
`const deleteCow = (cowId) => axios.delete(`${baseUrl}/cows/${cowId}.json`);`
1. the page should reload and the card should be gone

RELATED TICKETS

EX. #6