From fad79e74fe7f6fc18f3e084f1026a779c9a08da5 Mon Sep 17 00:00:00 2001 From: Silberengel Date: Mon, 6 Oct 2025 20:57:48 +0200 Subject: [PATCH] change reply feeds to be oldest-first --- src/components/NoteInteractions/index.tsx | 2 +- src/components/ReplyNoteList/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/NoteInteractions/index.tsx b/src/components/NoteInteractions/index.tsx index c878c07..678687a 100644 --- a/src/components/NoteInteractions/index.tsx +++ b/src/components/NoteInteractions/index.tsx @@ -20,7 +20,7 @@ export default function NoteInteractions({ event: Event }) { const [type, setType] = useState('replies') - const [replySort, setReplySort] = useState('newest') + const [replySort, setReplySort] = useState('oldest') const isDiscussion = event.kind === ExtendedKind.DISCUSSION let list diff --git a/src/components/ReplyNoteList/index.tsx b/src/components/ReplyNoteList/index.tsx index 2e4ac8d..99e7dbd 100644 --- a/src/components/ReplyNoteList/index.tsx +++ b/src/components/ReplyNoteList/index.tsx @@ -33,7 +33,7 @@ type TRootInfo = const LIMIT = 100 const SHOW_COUNT = 10 -export default function ReplyNoteList({ index, event, sort = 'newest' }: { index?: number; event: NEvent; sort?: 'newest' | 'oldest' | 'top' | 'controversial' | 'most-zapped' }) { +export default function ReplyNoteList({ index, event, sort = 'oldest' }: { index?: number; event: NEvent; sort?: 'newest' | 'oldest' | 'top' | 'controversial' | 'most-zapped' }) { const { t } = useTranslation() const { push, currentIndex } = useSecondaryPage() const { hideUntrustedInteractions, isUserTrusted } = useUserTrust()