From fcbf2d492065af652da4ed33a24e2438d5c052b8 Mon Sep 17 00:00:00 2001 From: SrGooglo Date: Sun, 5 Mar 2023 19:52:50 +0000 Subject: [PATCH] remove account dropdown --- .../src/components/Layout/sidebar/index.jsx | 46 +++---------------- 1 file changed, 7 insertions(+), 39 deletions(-) diff --git a/packages/app/src/components/Layout/sidebar/index.jsx b/packages/app/src/components/Layout/sidebar/index.jsx index 81c89c5e..b90c218c 100755 --- a/packages/app/src/components/Layout/sidebar/index.jsx +++ b/packages/app/src/components/Layout/sidebar/index.jsx @@ -357,47 +357,15 @@ export default class Sidebar extends React.Component { { - app.userData && - - - {t => t("Profile")} - - , - onClick: () => { - window.app.navigation.goToAccount() - } - }, - { - type: "divider", - }, - { - id: "logout", - label: <> - - - {t => t("Logout")} - - , - } - ] + app.userData && { + window.app.navigation.goToAccount() }} > - { - window.app.navigation.goToAccount() - }} - > - - - + + } { !app.userData && }>