feat: Add 'load more' to allow infinite comment trees
This commit is contained in:
1 parent
6b372fc906
commit
32a5641a0d
5 files changed
+192
-112
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user