Sorting working

This commit is contained in:
Eric Bailey
2025-05-06 17:20:38 -05:00
parent 59ab4f9668
commit e42cd77fc0
2 changed files with 317 additions and 99 deletions
+1 -1
View File
@@ -139,7 +139,6 @@ export function Inner({uri}: {uri: string | undefined}) {
const ref = useRef<ListMethods>(null)
const layoutHeaderRef = useRef<View | null>(null)
const anchorPostRef = useRef<View | null>(null)
const anchorPost = data?.slices.find(slice => slice.type === 'threadSlice' && slice.ui.isAnchor)
// TODO
const [justPostedUris, setJustPostedUris] = useState(
() => new Set<string>(),
@@ -161,6 +160,7 @@ export function Inner({uri}: {uri: string | undefined}) {
const {openComposer} = useComposerControls()
const onReplyToAnchor = () => {
const anchorPost = data?.slices.find(slice => slice.type === 'threadSlice' && slice.ui.isAnchor)
if (anchorPost?.type !== 'threadSlice') {
return
}