ran: npm run format.

This commit is contained in:
ItzNotABug
2024-08-19 17:02:57 +05:30
parent 4fff9bbc95
commit 37b372403c
2 changed files with 4 additions and 7 deletions
@@ -30,10 +30,7 @@
let collections: Models.CollectionList = null;
function buildQueries(): string[] {
const queries = [
Query.limit(3),
Query.orderDesc('$updatedAt'),
];
const queries = [Query.limit(3), Query.orderDesc('$updatedAt')];
if (collectionItems.length > 0) {
queries.push(Query.offset(collectionItems.length));
@@ -68,7 +65,7 @@
};
});
collectionItems = [...collectionItems, ...await Promise.all(collectionPromises)];
collectionItems = [...collectionItems, ...(await Promise.all(collectionPromises))];
} catch (err) {
error = true;
} finally {
@@ -93,8 +93,8 @@
</div>
<p>
The database will be permanently deleted, including all collections within it.
This action is irreversible.
The database will be permanently deleted, including all collections within it. This
action is irreversible.
</p>
<svelte:fragment slot="aside">
<BoxAvatar>