fix(ci): format stats media library hook

This commit is contained in:
2026-03-23 00:40:41 -07:00
parent e9fc6bf8ec
commit c6e6aeebbe

View File

@@ -34,10 +34,7 @@ export function useMediaLibrary() {
.then((rows) => {
if (cancelled) return;
setMedia(rows);
if (
shouldRefreshMediaLibraryRows(rows) &&
retryCount < MEDIA_LIBRARY_MAX_RETRIES
) {
if (shouldRefreshMediaLibraryRows(rows) && retryCount < MEDIA_LIBRARY_MAX_RETRIES) {
retryCount += 1;
retryTimer = setTimeout(() => {
retryTimer = null;