From e159d625587fc6d116e5954cecf1a6ae1561cc0e Mon Sep 17 00:00:00 2001 From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Date: Sat, 4 Jan 2025 22:53:24 -0600 Subject: [PATCH] refactor: add admin to useeffect --- apps/dokploy/pages/dashboard/monitoring.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dokploy/pages/dashboard/monitoring.tsx b/apps/dokploy/pages/dashboard/monitoring.tsx index 27ed25ede..566b51057 100644 --- a/apps/dokploy/pages/dashboard/monitoring.tsx +++ b/apps/dokploy/pages/dashboard/monitoring.tsx @@ -132,7 +132,7 @@ const Dashboard = () => { }, REFRESH_INTERVAL); return () => clearInterval(interval); - }, [dataPoints]); + }, [dataPoints, admin]); if (isLoading) { return (