mirror of
https://github.com/HangarMC/Hangar.git
synced 2024-11-21 01:21:54 +08:00
chore: lint
This commit is contained in:
parent
366d256d3a
commit
ae872d0de0
@ -36,7 +36,7 @@ export function useDataLoader<K extends keyof DataLoaderTypes>(key: K) {
|
||||
console.log("load loading", key);
|
||||
const result = await loader(newParam).catch((err) => {
|
||||
if (lenient) resolve();
|
||||
else reject();
|
||||
else reject(err);
|
||||
});
|
||||
// await new Promise((resolve) => setTimeout(resolve, 5000));
|
||||
if (result) {
|
||||
|
Loading…
Reference in New Issue
Block a user