diff --git a/AppImage/components/proxmox-dashboard.tsx b/AppImage/components/proxmox-dashboard.tsx index 3aef33f..c5724bb 100644 --- a/AppImage/components/proxmox-dashboard.tsx +++ b/AppImage/components/proxmox-dashboard.tsx @@ -160,11 +160,7 @@ export function ProxmoxDashboard() { } }, [lastScrollY]) - - window.addEventListener("scroll", handleScroll, { passive: true }) - return () => window.removeEventListener("scroll", handleScroll) - }, [lastScrollY]) - + const refreshData = async () => { setIsRefreshing(true) await fetchSystemData()