Merge branch 'main' into main

This commit is contained in:
Zamitto 2024-05-13 17:06:58 -03:00 committed by GitHub
commit 268610e423
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 176 additions and 3 deletions

View file

@ -1,6 +1,5 @@
import { formatDistance } from "date-fns";
import type { FormatDistanceOptions } from "date-fns";
import {
ptBR,
enUS,
@ -13,7 +12,7 @@ import {
it,
be,
zhCN,
da
da,
} from "date-fns/locale";
import { useTranslation } from "react-i18next";

View file

@ -57,7 +57,6 @@ i18n
},
})
.then(() => {
i18n.changeLanguage("pt-BR");
window.electron.updateUserPreferences({ language: i18n.language });
});