mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
style(board header): don't show 'p/' or '.eth/.sol' in title
This commit is contained in:
@@ -44,7 +44,7 @@ const BoardHeader = () => {
|
||||
</div>
|
||||
)}
|
||||
<div className={styles.boardTitle}>
|
||||
{title || `p/${shortAddress || subplebbitAddress}`}
|
||||
{title || shortAddress ? (shortAddress.endsWith('.eth') || shortAddress.endsWith('.sol') ? shortAddress.slice(0, -4) : shortAddress) : subplebbitAddress}
|
||||
{(isOffline || isOnlineStatusLoading) && !isInAllView && !isInSubscriptionsView && (
|
||||
<span className={`${styles.offlineIcon} ${offlineIconClass}`} title={offlineTitle} />
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user