Enable show less / more buttons for third party feeds (#8672)
Co-authored-by: hailey <hailey@blueskyweb.xyz> Co-authored-by: Hailey <me@haileyok.com>
This commit is contained in:
@@ -180,7 +180,7 @@ const ThreadItemAnchorInner = memo(function ThreadItemAnchorInner({
|
||||
const {openComposer} = useOpenComposer()
|
||||
const {currentAccount, hasSession} = useSession()
|
||||
const {gtTablet} = useBreakpoints()
|
||||
const feedFeedback = useFeedFeedback(postSource?.feed, hasSession)
|
||||
const feedFeedback = useFeedFeedback(postSource?.feedSourceInfo, hasSession)
|
||||
|
||||
const post = postShadow
|
||||
const record = item.value.post.record
|
||||
|
||||
@@ -49,7 +49,10 @@ export function PostThread({uri}: {uri: string}) {
|
||||
const initialNumToRender = useInitialNumToRender()
|
||||
const {height: windowHeight} = useWindowDimensions()
|
||||
const anchorPostSource = useUnstablePostSource(uri)
|
||||
const feedFeedback = useFeedFeedback(anchorPostSource?.feed, hasSession)
|
||||
const feedFeedback = useFeedFeedback(
|
||||
anchorPostSource?.feedSourceInfo,
|
||||
hasSession,
|
||||
)
|
||||
|
||||
/*
|
||||
* One query to rule them all
|
||||
|
||||
Reference in New Issue
Block a user