adrianhajdin / healthcare

Build a healthcare platform that streamlines patient registration, appointment scheduling, and medical records, and learn to implement complex forms and SMS notifications.
https://jsmastery.pro
2.02k stars 508 forks source link

healthcare #37

Open Troy2727 opened 2 months ago

Troy2727 commented 2 months ago

Nothing happening when clicking on SubmitAppointment button. screencapture-localhost-3000-patients-66ba9efe0000677413af-register-2024-08-12-20_17_35

nihalsheikh commented 2 months ago

Nothing happening when clicking on SubmitAppointment button. screencapture-localhost-3000-patients-66ba9efe0000677413af-register-2024-08-12-20_17_35

try adding: 'use server' on top of the patient.actions.ts file

167-RIAZ commented 2 months ago

I have faced the same problem