diff --git a/packages/concordia-app/src/layouts/MainLayout/MainLayoutMenu/index.jsx b/packages/concordia-app/src/layouts/MainLayout/MainLayoutMenu/index.jsx index 328bf54..480b219 100644 --- a/packages/concordia-app/src/layouts/MainLayout/MainLayoutMenu/index.jsx +++ b/packages/concordia-app/src/layouts/MainLayout/MainLayoutMenu/index.jsx @@ -35,7 +35,7 @@ const MainLayoutMenu = () => { link name="home" key="home" - onClick={() => { history.push('/'); }} + onClick={() => history.push('/')} > app_logo @@ -45,7 +45,7 @@ const MainLayoutMenu = () => { link name="create-topic" key="create-topic" - onClick={() => { history.push('/topics/new'); }} + onClick={() => history.push('/topics/new')} position="right" > {t('topbar.button.create.topic')} @@ -57,7 +57,7 @@ const MainLayoutMenu = () => { link name="profile" key="profile" - onClick={() => { history.push('/profile'); }} + onClick={() => history.push('/profile')} > {t('topbar.button.profile')} @@ -67,11 +67,19 @@ const MainLayoutMenu = () => { link name="register" key="register" - onClick={() => { history.push('/auth/register'); }} + onClick={() => history.push('/auth/register')} > {t('topbar.button.register')} )} + history.push('/about')} + > + {t('topbar.button.about')} + @@ -82,13 +90,6 @@ const MainLayoutMenu = () => { > {t('topbar.button.clear.databases')} - { history.push('/about'); }} - > - {t('topbar.button.about')} -