feat [3/3]: add topic viewing

This commit is contained in:
James Xylight authored and xylight committed 2025-09-17 00:27:11 +00:00
1 parent 82a8747ad4
commit a82d8c296d
14 files changed
+422 -319

No files matched your search

-3
View File
@@ -1,4 +1,3 @@
import { env } from '$env/dynamic/public'
import { client } from '$lib/client/lemmy.svelte.js'
import type { ListingType, SortType } from '$lib/client/types'
import { t } from '$lib/i18n/translations.js'
@@ -27,8 +26,6 @@ export async function load({ url, fetch, route }) {
show_hidden: settings.posts.showHidden,
})
if (env.PUBLIC_SSR_ENABLED?.toLowerCase() == 'true') await feedData
return {
feed: new ReactiveState((await awaitIfServer(feedData)).data),
filters: new ReactiveState({