···4040 `https://public.api.bsky.app/xrpc/app.bsky.feed.getPostThread?uri=${encodeURIComponent(uri)}&depth=6`
4141 );
4242 if (!res.ok) throw new Error(`Failed to load thread (${res.status})`);
4343- const data = await res.json();
4343+ const data = (await res.json()) as { thread?: { replies?: unknown[] } };
4444 const thread = data.thread;
4545 comments = thread?.replies?.length ? threadToComments(thread.replies) : [];
4646 } catch (err) {
+3-3
src/lib/components/EventEditor.svelte
···25252626 import type { Readable } from 'svelte/store';
2727 import { get } from 'svelte/store';
2828- import type { Editor } from '@tiptap/core';
2828+ import type { Editor } from 'svelte-tiptap';
29293030 import ThumbnailSection from './editor/ThumbnailSection.svelte';
3131 import LocationSection from './editor/LocationSection.svelte';
···502502 >
503503 Cancel
504504 </Button>
505505- <Button size="sm" onclick={handleDelete} disabled={deleting} variant="red">
505505+ <Button size="sm" onclick={handleDelete} disabled={deleting} variant="primary" class="red">
506506 {deleting ? 'Deleting...' : 'Delete'}
507507 </Button>
508508 </div>
509509 {:else}
510510- <Button variant="red" onclick={() => (showDeleteConfirm = true)}>Delete event</Button>
510510+ <Button variant="primary" class="red" onclick={() => (showDeleteConfirm = true)}>Delete event</Button>
511511 {/if}
512512 </div>
513513 {/if}
+1-1
src/lib/components/PostToBlueskyModal.svelte
···166166167167 if (canSetEventComments) {
168168 const fresh = await getRecord({
169169- did: eventDid as `did:${string}`,
169169+ did: eventDid as `did:${string}:${string}`,
170170 collection: 'community.lexicon.calendar.event',
171171 rkey: eventRkey
172172 });
+1-1
src/lib/components/VodPlayer.svelte
···96969797 // Add track after Plyr init and force captions on
9898 if (subtitlesUrl) {
9999- const media = plyr.media as HTMLVideoElement;
9999+ const media = videoEl;
100100 // Remove any existing tracks first
101101 media.querySelectorAll('track').forEach((t) => t.remove());
102102 // Add fresh track