chore: format

This commit is contained in:
Timothy Jaeryang Baek
2026-01-08 01:55:56 +04:00
parent c417fdd94d
commit 700349064d
97 changed files with 4650 additions and 986 deletions
+4 -6
View File
@@ -221,7 +221,7 @@
// Build the grouped object while tracking order
const grouped: Record<string, any[]> = {};
const orderedKeys: string[] = [];
for (const note of res) {
const timeRange = getTimeRange(note.updated_at / 1000000000);
if (!grouped[timeRange]) {
@@ -233,9 +233,9 @@
timeRange
});
}
// Return as array of [timeRange, notes] to preserve insertion order
return orderedKeys.map(key => [key, grouped[key]] as [string, any[]]);
return orderedKeys.map((key) => [key, grouped[key]] as [string, any[]]);
};
let dragged = false;
@@ -455,9 +455,7 @@
{#if displayOption === null}
<div
class="{groupedNotes.length - 1 !== idx
? 'mb-3'
: ''} gap-1.5 flex flex-col"
class="{groupedNotes.length - 1 !== idx ? 'mb-3' : ''} gap-1.5 flex flex-col"
>
{#each notesList as note, idx (note.id)}
<div