mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix bugs
This commit is contained in:
@@ -417,7 +417,7 @@ const PostDesktop = ({ openReplyModal, post, roles, showAllReplies, showReplies
|
|||||||
)}
|
)}
|
||||||
</span>
|
</span>
|
||||||
)}
|
)}
|
||||||
{replyCount === undefined && (
|
{post?.replyCount === undefined && (
|
||||||
<span className={styles.loadingString}>
|
<span className={styles.loadingString}>
|
||||||
<LoadingEllipsis string={t('loading_comments')} />
|
<LoadingEllipsis string={t('loading_comments')} />
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
@@ -342,7 +342,7 @@ const PostMobile = ({ openReplyModal, post, roles, showAllReplies, showReplies =
|
|||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
{replyCount === undefined && (
|
{post?.replyCount === undefined && (
|
||||||
<span className={styles.loadingString}>
|
<span className={styles.loadingString}>
|
||||||
<LoadingEllipsis string={t('loading_comments')} />
|
<LoadingEllipsis string={t('loading_comments')} />
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ const AvatarPreview = ({ avatar }: any) => {
|
|||||||
</div>
|
</div>
|
||||||
{state !== 'succeeded' && account?.author?.avatar && (
|
{state !== 'succeeded' && account?.author?.avatar && (
|
||||||
<div className={styles.state}>
|
<div className={styles.state}>
|
||||||
{stateText} {error?.message}
|
{!error && stateText} {error && error?.message}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</>
|
</>
|
||||||
|
|||||||
Reference in New Issue
Block a user