Together-100Devs / Together

Together is a group calendar application using the MERN stack intended to bring discord communities closer!
https://together.cyclic.app/
MIT License
167 stars 112 forks source link

Missing redirect when deleting events - Resolved #428

Closed r-Dev03 closed 11 months ago

r-Dev03 commented 12 months ago

Description

The issue was that upon deletion of any individual events or multiple events, it would require a manual refresh to display the changes. It was due to the state not being handled properly within the eventModal.jsx file. Imported useEventsContext and managed state through a filter call based on groupID or ._Id

NOTE: Database clearing test does not pass, would require further investigation, however, does not add up since all database operations and dev server were working perfectly fine during development. (Could be my environment)

Type of change

Please select everything applicable. Please, do not delete any lines.

Issue

Checklist: