summaryrefslogtreecommitdiff
path: root/ui/lib
diff options
context:
space:
mode:
authorKit La Touche <kit@transneptune.net>2025-02-20 21:53:05 -0500
committerKit La Touche <kit@transneptune.net>2025-02-20 21:53:26 -0500
commit40468057d7cb7be8203b5ec9acf178339a80a362 (patch)
tree6e377f346ffcb7833bc11362c731583cb4274c66 /ui/lib
parent098be35aade77e505d692558cfb554485b8563db (diff)
Remove explanatory comment
That no longer vitally pertains.
Diffstat (limited to 'ui/lib')
-rw-r--r--ui/lib/store/channels.svelte.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/ui/lib/store/channels.svelte.js b/ui/lib/store/channels.svelte.js
index 86d924e..31e9098 100644
--- a/ui/lib/store/channels.svelte.js
+++ b/ui/lib/store/channels.svelte.js
@@ -2,20 +2,6 @@ import { DateTime } from 'luxon';
import { get } from 'svelte/store'
import { STORE_KEY_CHANNELS_DATA, EPOCH_STRING } from '$lib/constants';
-// # Why we don't have a Channel object
-//
-// For reasons unclear to me, a straight up class definition with a constructor
-// doesn't seem to work, reactively. So we resort to this.
-//
-// Owen suggests that this sentence in the Svelte docs should make the reason
-// clear:
-//
-// > If $state is used with an array or a simple object, the result is a deeply
-// > reactive state proxy.
-//
-// Emphasis on "simple object".
-//
-// --Kit
export class Channels {
channels = $state([]);