feat: 💨

This commit is contained in:
codytseng 2025-09-05 22:53:55 +08:00
parent be3c0023fe
commit ab51f768f9
3 changed files with 7 additions and 6 deletions

View file

@ -284,7 +284,7 @@ export default function ReplyNoteList({ index, event }: { index?: number; event:
return (
<div className="min-h-[80vh]">
{loading && (replies.length === 0 ? <ReplyNoteSkeleton /> : <LoadingBar />)}
{loading && <LoadingBar />}
{!loading && until && (
<div
className={`text-sm text-center text-muted-foreground border-b py-2 ${!loading ? 'hover:text-foreground cursor-pointer' : ''}`}
@ -338,6 +338,7 @@ export default function ReplyNoteList({ index, event }: { index?: number; event:
</div>
)}
<div ref={bottomRef} />
{loading && <ReplyNoteSkeleton />}
</div>
)
}