From 1e6fdfff27383c555e64b7aa172cebfdf0fff3fe Mon Sep 17 00:00:00 2001 From: "plebeius.eth" Date: Mon, 16 Oct 2023 13:00:23 +0200 Subject: [PATCH] fix(topbar): prevent clicking the subs dropdown if there are no subs --- src/components/topbar/topbar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/topbar/topbar.tsx b/src/components/topbar/topbar.tsx index 3e928d52..7abd6bd4 100644 --- a/src/components/topbar/topbar.tsx +++ b/src/components/topbar/topbar.tsx @@ -40,7 +40,7 @@ const TopBar: FC = () => { {t('topbar_my_subs')} -
+
{subscriptions?.map((subscription: string, index: number) => ( event.preventDefault()}> {subscription}