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
@@ -71,7 +71,7 @@ const BoardHeader = () => {
? shortAddress.endsWith('.eth') || shortAddress.endsWith('.sol')
? shortAddress.slice(0, -4)
: shortAddress
: subplebbitAddress && Plebbit.getShortAddress(subplebbitAddress))}
: subplebbitAddress && Plebbit.getShortAddress({ address: subplebbitAddress }))}
{(isOffline || isOnlineStatusLoading) && !isInAllView && !isInSubscriptionsView && !isInModView && (
<span className={styles.offlineIconWrapper}>
<Tooltip content={offlineTitle}>