mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix(board): match subscriptions empty state to catalog search styling
Use the same centered red status treatment as catalog "Nothing Found" instead of a plain red span in the subscriptions footer.
This commit is contained in:
@@ -133,7 +133,9 @@ const BoardFooter = ({
|
||||
{communityState === 'failed' ? (
|
||||
<span className='red'>{communityState}</span>
|
||||
) : isInSubscriptionsView && subscriptionsLength === 0 ? (
|
||||
<span className='red'>{t('not_subscribed_to_any_board')}</span>
|
||||
<div className={styles.searchNothingFound} role='status'>
|
||||
{t('not_subscribed_to_any_board')}
|
||||
</div>
|
||||
) : isInModView && accountCommunityAddressesLength === 0 ? (
|
||||
<ModEmptyState />
|
||||
) : (
|
||||
|
||||
Reference in New Issue
Block a user