Set to default params, update comment

This commit is contained in:
Eric Bailey
2025-05-29 16:43:07 -05:00
parent 9ca42f20a4
commit 412b9943b5
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -41,8 +41,8 @@ export function usePostThread({
async queryFn() {
const {data} = await agent.app.bsky.unspecced.getPostThreadV2({
anchor: params.anchor!,
branchingFactor: params.view === 'linear' ? 1 : 3, // 100 TODO
below: 3,
branchingFactor: params.view === 'linear' ? 1 : undefined,
below: 10,
sort: params.sort,
prioritizeFollowedUsers: params.prioritizeFollowedUsers,
})
+1 -1
View File
@@ -304,7 +304,7 @@ export function PostThread({uri}: {uri: string | undefined}) {
// When progressively revealing parents, rendering a placeholder
// here will cause scrolling jumps. Don't add it unless you test it.
// QT'ing this thread is a great way to test all the scrolling hacks:
// https://bsky.app/profile/www.mozzius.dev/post/3kjqhblh6qk2o
// https://bsky.app/profile/samuel.bsky.team/post/3kjqhblh6qk2o
// Everything is loaded
let startIndex = Math.max(0, parents.length - maxParents)