fix: ssr crash

This commit is contained in:
Xyphyn committed 2023-09-26 20:13:54 -07:00
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),
},
}
}