fix(lint): resolve react-hooks/set-state-in-effect in storage and suggestions clients

This commit is contained in:
2026-05-10 02:02:01 +08:00
parent c9adf80d88
commit f02408c0c7
2 changed files with 19 additions and 19 deletions
@@ -101,7 +101,6 @@ export function StorageClient() {
const isSearchChangeRef = useRef(false)
useEffect(() => {
setStatsLoading(true)
fetch("/api/admin/storage/stats")
.then((res) => res.json())
.then((data) => {