This Pull Request fixes the issue of the delete button going to the event page (https://github.com/Adittya-Gupta/Ethos/issues/1). This was done by using the event.stopPropogation function in the delete button handler. I've also added some minor styling to the delete button so that the user can see when they hover over the delete button.
This Pull Request fixes the issue of the delete button going to the event page (https://github.com/Adittya-Gupta/Ethos/issues/1). This was done by using the event.stopPropogation function in the delete button handler. I've also added some minor styling to the delete button so that the user can see when they hover over the delete button.
A video of the functionality is below:
https://github.com/Adittya-Gupta/Ethos/assets/85814475/028ce49f-d831-46bf-858f-466422a258f4