Update proxmox-dashboard.tsx

This commit is contained in:
MacRimi
2025-10-23 21:31:21 +02:00
parent f96bdee71d
commit b141622e75

View File

@@ -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()