feat: Add 'load more' to allow infinite comment trees

This commit is contained in:
Xyphyn committed 2023-07-07 13:45:59 -07:00
1 parent 6b372fc906
commit 32a5641a0d
5 files changed
+192 -112

No files matched your search

+2 -2
View File
@@ -11,9 +11,9 @@ export async function load({ params }) {
comments: getClient(params.instance).getComments({
post_id: Number(params.id),
type_: 'All',
limit: 250,
limit: 25,
page: 1,
max_depth: 6,
max_depth: 3,
saved_only: false,
sort: 'Hot',
auth: get(authData)?.token,