- improved ui for dashboard
- added refetch fn
This commit is contained in:
@@ -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();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user