feat: make comments available in ssr
This commit is contained in:
1 parent
b3ad7eeae9
commit
00840227d2
6 files changed
+62
-71
No files matched your search
@@ -45,9 +45,7 @@ export async function load({ params, url, fetch }) {
|
||||
singleThread: parentId != undefined,
|
||||
post: post,
|
||||
commentSort: sort,
|
||||
streamed: {
|
||||
comments: getClient(params.instance, fetch).getComments(commentParams),
|
||||
},
|
||||
comments: await getClient(params.instance, fetch).getComments(commentParams),
|
||||
slots: {
|
||||
sidebar: {
|
||||
component: CommunityCard,
|
||||
|
||||
Reference in new issue
Block a user