mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-03-25 00:11:26 -07:00
fix(ci): format stats media library hook
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user