diff --git a/src/components/ReplyNoteList/index.tsx b/src/components/ReplyNoteList/index.tsx index b1cf30ff..14fff7b6 100644 --- a/src/components/ReplyNoteList/index.tsx +++ b/src/components/ReplyNoteList/index.tsx @@ -184,6 +184,9 @@ export default function ReplyNoteList({ event, className }: { event: NEvent; cla > {loading ? t('loading...') : until ? t('load more older replies') : null} + {replies.length === 0 && !loading && !until && ( +
{t('no replies')}
+ )} {replies.length > 0 && (loading || until) && }
{replies.map((reply) => { @@ -200,9 +203,6 @@ export default function ReplyNoteList({ event, className }: { event: NEvent; cla ) })}
- {replies.length === 0 && !loading && !until && ( -
{t('no replies')}
- )}
) diff --git a/src/components/ui/switch.tsx b/src/components/ui/switch.tsx index 654ff1bf..4212852e 100644 --- a/src/components/ui/switch.tsx +++ b/src/components/ui/switch.tsx @@ -9,7 +9,7 @@ const Switch = React.forwardRef< >(({ className, ...props }, ref) => (