Reformatting code.

This commit is contained in:
Roland 2025-12-06 14:49:46 -07:00 • committed by lrnselfreliance
parent 5b29144d70
commit 8a7f0737f0
42 changed files with 306 additions and 238 deletions

View file

@ -1,7 +1,16 @@
import {emptyToNull} from "./components/Common";
import {toast} from "react-semantic-toasts-2";
import _ from "lodash";
import {API_URI, ARCHIVES_API, COLLECTIONS_API, DEFAULT_LIMIT, Downloaders, OTP_API, VIDEOS_API, ZIM_API} from "./components/Vars";
import {
API_URI,
ARCHIVES_API,
COLLECTIONS_API,
DEFAULT_LIMIT,
Downloaders,
OTP_API,
VIDEOS_API,
ZIM_API
} from "./components/Vars";
function timeoutPromise(ms, promise) {
// Create a timeout wrapper around a promise. If the timeout is reached, throw an error. Otherwise, return
@ -1674,4 +1683,4 @@ export async function triggerUpgrade() {
});
}
return response;
}
}