From bb8399ede45aa104670c3b0c6ecd2c5feb766906 Mon Sep 17 00:00:00 2001 From: Shraddha Date: Wed, 27 Sep 2023 10:11:48 -0400 Subject: [PATCH] remove unnecessary dependencies --- src/app/admin/dashboard/data-tabs.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/admin/dashboard/data-tabs.tsx b/src/app/admin/dashboard/data-tabs.tsx index 0f6a3ce..1592adc 100644 --- a/src/app/admin/dashboard/data-tabs.tsx +++ b/src/app/admin/dashboard/data-tabs.tsx @@ -81,7 +81,7 @@ export const DataTabs = ({ appointments, practiceInfo }: DataTabsProps) => { description: `Attention, Commander! You've got ${newAppointments.current.length} new appointment requests. Ready to accept the mission?`, }); } - }, [toast, isEmergency, isNormal]); + }, []); // Look for realtime updates in the DB useEffect(() => {