fix(toast message fix) - small fix
This commit is contained in:
@@ -272,7 +272,7 @@ export default function AppointmentsPage() {
|
|||||||
onSuccess: (appointment) => {
|
onSuccess: (appointment) => {
|
||||||
toast({
|
toast({
|
||||||
title: "Appointment Scheduled",
|
title: "Appointment Scheduled",
|
||||||
description: appointment.message || "Appointment created successfully.",
|
description: appointment.message || "Appointment updated successfully.",
|
||||||
});
|
});
|
||||||
queryClient.invalidateQueries({
|
queryClient.invalidateQueries({
|
||||||
queryKey: qkAppointmentsDay(formattedSelectedDate),
|
queryKey: qkAppointmentsDay(formattedSelectedDate),
|
||||||
|
|||||||
Reference in New Issue
Block a user