As a user
I want to see and interact with a delete button
in order to remove outdated or canceled events.
Description
Acceptance criteria
[x] The delete-button is displayed on the details page.
[x] Clicking the button pops up an alert asking the user for the command approval. Yes, routes the user back to the event list and no lets the user to stay on the eventcard details.
[x] Clicking the delete-button removes the event card, updates the event list accordingly..
Tasks
[x] Create a button component.
[x] Add a delete button to the event card.
[x] Create alert message.
[x] delete the entry when confirmed
[x] Render the delete button in the event card component.
Value proposition
As a user I want to see and interact with a delete button in order to remove outdated or canceled events.
Description
Acceptance criteria
Tasks
Size: S