From a763a11872345cfdabaf842e697d3242c7f14680 Mon Sep 17 00:00:00 2001 From: thecodrr Date: Fri, 15 May 2020 00:59:04 +0500 Subject: [PATCH] fix: menu items not working --- apps/web/src/components/menu/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/web/src/components/menu/index.js b/apps/web/src/components/menu/index.js index 7fb344488..6569b5d21 100644 --- a/apps/web/src/components/menu/index.js +++ b/apps/web/src/components/menu/index.js @@ -42,10 +42,10 @@ function Menu(props) { props.closeMenu(); } const onlyPro = item.onlyPro && !isPremium; - if (onlyPro && item.onClick) { + if (onlyPro) { + // TODO + } else if (item.onClick) { item.onClick(props.data); - } else { - // TODO show the buy dialog } }} flexDirection="row"