feat: add infinite scroll for replies

This commit is contained in:
plebeius
2025-12-27 18:07:23 +01:00
parent 6e9202a604
commit 882b7b4a99
3 changed files with 132 additions and 24 deletions
-2
View File
@@ -87,8 +87,6 @@ const PostPage = () => {
return (
<div className={styles.content}>
{/* TODO: remove this replyCount error once api supports scrolling replies pages */}
{replyCount > 60 && <span className={styles.error}>Error: this thread has too many replies, some of them cannot be displayed right now.</span>}
{shouldShowErrorToUser && (
<div className={styles.error}>
<ErrorDisplay error={error} />