minor fixes

This commit is contained in:
Rodrigo Antinarelli 2020-06-24 01:16:56 -03:00
parent 987dae9b2d
commit db0ce2f6f7
2 changed files with 4 additions and 4 deletions

View File

@ -91,12 +91,12 @@ function Header({ children }) {
{
title: t('Header:About'),
icon: 'info',
onClick: () => showAboutModal(),
onClick: showAboutModal,
},
{
title: t('Header:Preferences'),
icon: 'settings',
onClick: () => showPreferencesModal(),
onClick: showPreferencesModal,
},
]}
/>

View File

@ -45,11 +45,11 @@ const PreferencesDropdown = () => {
</>
}
list={[
{ title: 'About', icon: 'info', onClick: () => showAboutModal() },
{ title: 'About', icon: 'info', onClick: showAboutModal },
{
title: 'Preferences',
icon: 'settings',
onClick: () => showPreferencesModal(),
onClick: showPreferencesModal,
},
]}
/>