1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-01-05 22:00:59 +00:00

Merge pull request #426 from trezor/fix/locales-url

Fix/URL for fetching locales
This commit is contained in:
Vladimir Volek 2019-03-04 16:31:23 +01:00 committed by GitHub
commit ef59babb05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -85,7 +85,7 @@ export const toggleSidebar = (): WalletAction => ({
});
export const fetchLocale = (locale: string): ThunkAction => (dispatch: Dispatch): void => {
fetch(`/l10n/${locale}.json`)
fetch(`./l10n/${locale}.json`)
.then(response => response.json())
.then(messages => {
dispatch({