diff --git a/src/components/modules/ping/PingModule.tsx b/src/components/modules/ping/PingModule.tsx index af9cd3a77..c7586f538 100644 --- a/src/components/modules/ping/PingModule.tsx +++ b/src/components/modules/ping/PingModule.tsx @@ -32,7 +32,7 @@ export default function PingComponent(props: any) { .catch(() => { setOnline('down'); }); - }, []); + }, [config.modules?.[PingModule.title]?.enabled]); if (!exists) { return null; }