fix(lint): resolve react-hooks/set-state-in-effect in storage and suggestions clients
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user