chore: lint

This commit is contained in:
MiniDigger | Martin 2024-08-16 07:53:46 +02:00
parent 366d256d3a
commit ae872d0de0

View File

@ -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) {