From b141622e7588be3b3119b606d888301468757d3e Mon Sep 17 00:00:00 2001 From: MacRimi Date: Thu, 23 Oct 2025 21:31:21 +0200 Subject: [PATCH] Update proxmox-dashboard.tsx --- AppImage/components/proxmox-dashboard.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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()