chore: prettify

This commit is contained in:
plebeius.eth
2023-10-22 15:50:54 +02:00
parent ab4ebdca56
commit 9ea6c751b0
2 changed files with 40 additions and 2 deletions

View File

@@ -19,7 +19,9 @@ const AccountBar: FC = () => {
<Link
to='/settings'
className={styles.preferences}
onClick={(e) => {e.preventDefault();}}
onClick={(e) => {
e.preventDefault();
}}
>
{t('account_bar_submit')}
</Link>

View File

@@ -7,7 +7,43 @@ import AccountBar from './account-bar';
import Theme from '../theme';
const choices = ['/hot', '/new', '/active', '/controversialAll', '/topAll'];
const availableLanguages = ['ar', 'bn', 'cs', 'da', 'de', 'el', 'en', 'es', 'fa', 'fi', 'fil', 'fr', 'he', 'hi', 'hu', 'id', 'it', 'ja', 'ko', 'mr', 'nl', 'no', 'pl', 'pt', 'ro', 'ru', 'sq', 'sv', 'te', 'th', 'tr', 'uk', 'ur', 'vi', 'zh'];
const availableLanguages = [
'ar',
'bn',
'cs',
'da',
'de',
'el',
'en',
'es',
'fa',
'fi',
'fil',
'fr',
'he',
'hi',
'hu',
'id',
'it',
'ja',
'ko',
'mr',
'nl',
'no',
'pl',
'pt',
'ro',
'ru',
'sq',
'sv',
'te',
'th',
'tr',
'uk',
'ur',
'vi',
'zh',
];
const Language: FC = () => {
const { i18n } = useTranslation();