From 6e6b068ae2adc8c5ef8acb633dcadfbdc3221b61 Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Wed, 11 Jun 2025 12:39:28 -0400 Subject: tools/reformat --- ui/lib/state/local/channels.svelte.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ui/lib/state/local') diff --git a/ui/lib/state/local/channels.svelte.js b/ui/lib/state/local/channels.svelte.js index e3ee8df..669aa1e 100644 --- a/ui/lib/state/local/channels.svelte.js +++ b/ui/lib/state/local/channels.svelte.js @@ -14,7 +14,7 @@ class Channel { return new Channel({ draft, lastReadAt: lastReadAt == null ? null : DateTime.fromISO(lastReadAt), - scrollPosition + scrollPosition, }); } @@ -29,7 +29,7 @@ class Channel { return { draft, lastReadAt: lastReadAt?.toISO(), - scrollPosition + scrollPosition, }; } } @@ -49,7 +49,7 @@ export class Channels { static fromStored(stored) { const loaded = Object.keys(stored).map((channelId) => [ channelId, - Channel.fromStored(stored[channelId]) + Channel.fromStored(stored[channelId]), ]); const all = new SvelteMap(loaded); return new Channels({ all }); @@ -98,9 +98,9 @@ export class Channels { this.all.entries(), (stored, [channelId, channel]) => ({ ...stored, - [channelId]: channel.toStored() + [channelId]: channel.toStored(), }), - {} + {}, ); } -- cgit v1.2.3