Open nihalsheikh opened 3 weeks ago
Also the Appointment Attribute Enum is this:
what changes do I need to make???
In appointment.actions.ts use console.log(data) in getRecentAppointmentList if it gives document: [ ], totalcount:0 , pendingcound:0 etc, then it fetching problem.. Just remove query part as it is optional , and then check appointment_data , hope it works for you
I've been trying to get the actual count of pending appointments through StatCard count{appointments.pendingCount}, but for some reason the page is rendering only the initialCount: 0, yes I've created an appointment in appwrite and followed along with the video to every point.
Where should I console.log to check for errors???
Someone please provide me the solution for this.