Hello,
I am experiencing an issue with the ScheduleComponent in my Next.js project. Specifically, when I click the "Save" button in the schedule popup, the form closes, but no network request is made. This issue only occurs when editing an event. Both adding and deleting events work correctly, and I have successfully connected the frontend with a Rails API backend.
Here’s a summary of the issue:
- Problem: When editing an event, clicking "Save" closes the popup without making any HTTP requests.
- Working Cases: Adding and deleting events work fine, and requests are made as expected.
- Expected Behavior: When editing an event, I expect the save action to trigger an HTTP request to update the event in the backend.

Here is the relevant code
Frontend: https://github.com/jukemori/group-scheduler/blob/main/app/page.tsx
Backend: https://github.com/jukemori/group_scheduler_api/blob/main/app/controllers/api/v1/events_controller.rb
I am not receiving any errors, and the frontend doesn’t send a request when editing an event, so I am unable to verify if the issue is with the backend. Could you help identify what might be causing this behavior and how I can ensure the "Save" action triggers a request during event edits?
Regards,
Jun