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) => {
|
.then((rows) => {
|
||||||
if (cancelled) return;
|
if (cancelled) return;
|
||||||
setMedia(rows);
|
setMedia(rows);
|
||||||
if (
|
if (shouldRefreshMediaLibraryRows(rows) && retryCount < MEDIA_LIBRARY_MAX_RETRIES) {
|
||||||
shouldRefreshMediaLibraryRows(rows) &&
|
|
||||||
retryCount < MEDIA_LIBRARY_MAX_RETRIES
|
|
||||||
) {
|
|
||||||
retryCount += 1;
|
retryCount += 1;
|
||||||
retryTimer = setTimeout(() => {
|
retryTimer = setTimeout(() => {
|
||||||
retryTimer = null;
|
retryTimer = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user