mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-11-18 11:36:17 +00:00
Update proxmox-dashboard.tsx
This commit is contained in:
@@ -161,10 +161,6 @@ export function ProxmoxDashboard() {
|
|||||||
}, [lastScrollY])
|
}, [lastScrollY])
|
||||||
|
|
||||||
|
|
||||||
window.addEventListener("scroll", handleScroll, { passive: true })
|
|
||||||
return () => window.removeEventListener("scroll", handleScroll)
|
|
||||||
}, [lastScrollY])
|
|
||||||
|
|
||||||
const refreshData = async () => {
|
const refreshData = async () => {
|
||||||
setIsRefreshing(true)
|
setIsRefreshing(true)
|
||||||
await fetchSystemData()
|
await fetchSystemData()
|
||||||
|
|||||||
Reference in New Issue
Block a user