From d365c1bc59d33de98f3ae96f748986ac3a27762b Mon Sep 17 00:00:00 2001 From: Apostolof Date: Fri, 11 Dec 2020 22:06:34 +0200 Subject: [PATCH] feat: add dropdown to menu, move clear databases into dropdown --- .../MainLayout/MainLayoutMenu/index.jsx | 22 +++++++++++-------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/packages/concordia-app/src/layouts/MainLayout/MainLayoutMenu/index.jsx b/packages/concordia-app/src/layouts/MainLayout/MainLayoutMenu/index.jsx index 3c51293..d45b962 100644 --- a/packages/concordia-app/src/layouts/MainLayout/MainLayoutMenu/index.jsx +++ b/packages/concordia-app/src/layouts/MainLayout/MainLayoutMenu/index.jsx @@ -1,5 +1,5 @@ import React, { useState } from 'react'; -import { Menu } from 'semantic-ui-react'; +import { Dropdown, Menu } from 'semantic-ui-react'; import { useTranslation } from 'react-i18next'; import { useHistory } from 'react-router'; import { useSelector } from 'react-redux'; @@ -39,14 +39,6 @@ const MainLayoutMenu = () => { > app_logo - - {t('topbar.button.clear.databases')} - {hasSignedUp && history.location.pathname === '/home' && ( { )} + + + + {t('topbar.button.clear.databases')} + + +