Skip to content

ServerKit is a lightweight, modern server control panel for managing web applications, databases, and services on your VPS or dedicated server. Built with Python/Flask backend and React frontend.

Drop a needless exhaustive-deps disable

Juan Denisca4bdb223669
diff --git a/frontend/src/components/settings/RecycleBinTab.jsx b/frontend/src/components/settings/RecycleBinTab.jsx
index b449256b..9601ae6d 100644
--- a/frontend/src/components/settings/RecycleBinTab.jsx
+++ b/frontend/src/components/settings/RecycleBinTab.jsx
@@ -94,7 +94,7 @@ export default function RecycleBinTab() {
}
}, []);
- useEffect(() => { load(); }, []); // eslint-disable-line react-hooks/exhaustive-deps
+ useEffect(() => { load(); }, [load]);
const rowKey = (row) => `${row.kind}:${row.id}`;