fix: ssr crash
This commit is contained in:
1 parent
baea03a3c3
commit
5f1036ffb5
4 files changed
+16
-18
No files matched your search
@@ -47,9 +47,7 @@ export async function load({ params, url, fetch }) {
|
||||
post: post,
|
||||
commentSort: sort,
|
||||
streamed: {
|
||||
comments: SSR_ENABLED
|
||||
? await getClient(params.instance, fetch).getComments(commentParams)
|
||||
: getClient(params.instance, fetch).getComments(commentParams),
|
||||
comments: getClient(params.instance, fetch).getComments(commentParams),
|
||||
},
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user