mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix undefined
This commit is contained in:
@@ -425,11 +425,11 @@ const SubscriptionsCatalog = () => {
|
||||
</div>
|
||||
<>
|
||||
<div className="board-title">Subscriptions</div>
|
||||
{account.subscriptions.length < 1 ? (
|
||||
{account?.subscriptions.length < 1 ? (
|
||||
<div className="board-address">You haven't subscribed to any board yet.</div>
|
||||
) : (
|
||||
<div className="board-address">
|
||||
You have subscribed to {account.subscriptions.length} board{account.subscriptions.length > 1 ? "s" : null}.
|
||||
You have subscribed to {account?.subscriptions.length} board{account?.subscriptions.length > 1 ? "s" : null}.
|
||||
</div>
|
||||
)}
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user