mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-11-10 16:46:06 -08:00
fix(ci): format stats media library hook
This commit is contained in:
1 file changed
+1
-4
@@ -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