Description
Calendar events require a title but the title currently can be " ", we should trim before checking if the title is empty
A logic addition like this should be in the backend, but we can look at frontend/src/pages/CalendarPage/Components/EventModal.tsx to get a better understanding of the frontend issue here.
In this modal, currently we can enter " " as the title and it submits successfully

We want to show a Toast error when a user tries to create/edit a calendar event with an empty title
Proposed Solution
Ensure that the title trimmed is empty when creating/editing calendar events
Recommended to implement this logic in the backend - look at calendar.routes.ts
Optional step: Update the formatting on the toast error message to clearly indicate to the user that the title cannot be empty
Acceptance Criteria
Bug Screenshot

Description
Calendar events require a title but the title currently can be " ", we should trim before checking if the title is empty
A logic addition like this should be in the backend, but we can look at frontend/src/pages/CalendarPage/Components/EventModal.tsx to get a better understanding of the frontend issue here.

In this modal, currently we can enter " " as the title and it submits successfully
We want to show a Toast error when a user tries to create/edit a calendar event with an empty title
Proposed Solution
Ensure that the title trimmed is empty when creating/editing calendar events
Recommended to implement this logic in the backend - look at calendar.routes.ts
Optional step: Update the formatting on the toast error message to clearly indicate to the user that the title cannot be empty
Acceptance Criteria
Bug Screenshot