From a6dd7b2dfa1760bb0be338ce4244a9ab826afaeb Mon Sep 17 00:00:00 2001 From: "plebeius.eth" Date: Tue, 25 Jul 2023 20:35:41 +0200 Subject: [PATCH] fix undefined --- src/components/views/SubscriptionsCatalog.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/views/SubscriptionsCatalog.jsx b/src/components/views/SubscriptionsCatalog.jsx index f8624411..599048e7 100755 --- a/src/components/views/SubscriptionsCatalog.jsx +++ b/src/components/views/SubscriptionsCatalog.jsx @@ -425,11 +425,11 @@ const SubscriptionsCatalog = () => { <>
Subscriptions
- {account.subscriptions.length < 1 ? ( + {account?.subscriptions.length < 1 ? (
You haven't subscribed to any board yet.
) : (
- 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}.
)}