fix: update Plebbit.getShortAddress calls to use object parameter

This commit is contained in:
plebeius
2025-12-24 13:29:09 +01:00
parent 0f7b50b573
commit 4cb3bda38c
9 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -288,7 +288,7 @@ const CatalogPost = ({ post }: { post: Comment }) => {
{author?.displayName || _.capitalize(t('anonymous'))}
{isCatalogPostAuthorMod && <span className='capitalize'>{` ## Board ${catalogPostAuthorRole}`}</span>}
</span>
{(isInAllView || isInSubscriptionsView) && subplebbitAddress && ` to p/${Plebbit.getShortAddress(subplebbitAddress)}`}
{(isInAllView || isInSubscriptionsView) && subplebbitAddress && ` to p/${Plebbit.getShortAddress({ address: subplebbitAddress })}`}
<span className={styles.postAgo}> {getFormattedTimeAgo(timestamp)}</span>
{replyCount > 0 && (
<div className={styles.postLast}>