summaryrefslogtreecommitdiff
path: root/ui/lib/state/remote/channels.svelte.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/lib/state/remote/channels.svelte.js')
-rw-r--r--ui/lib/state/remote/channels.svelte.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/ui/lib/state/remote/channels.svelte.js b/ui/lib/state/remote/channels.svelte.js
index b2888cb..1e40075 100644
--- a/ui/lib/state/remote/channels.svelte.js
+++ b/ui/lib/state/remote/channels.svelte.js
@@ -19,15 +19,6 @@ class Channel {
export class Channels {
all = $state([]);
- static boot(channels) {
- const all = channels.map((channel) => Channel.boot(channel));
- return new Channels({ all });
- }
-
- constructor({ all }) {
- this.all = all;
- }
-
add({ at, id, name }) {
this.all.push(Channel.boot({ at, id, name }));
}