- improved ui for dashboard

- added refetch fn
This commit is contained in:
2025-11-24 20:32:52 +00:00
parent 31b6bd45f5
commit 27d2c6a1b9
4 changed files with 32 additions and 15 deletions

View File

@@ -1,7 +1,7 @@
import { useQuery } from "@tanstack/react-query";
const fetchData = async () => {
const response = await fetch(`http://192.168.202.121/api/system-health`);
const response = await fetch(`http://100.115.148.59/api/system-health`);
if (!response.ok) throw new Error("Cannot get System overview");
return response.json();
};