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

Fix/URL for fetching locales
pull/432/head
Vladimir Volek 5 years ago committed by GitHub
commit ef59babb05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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({

Loading…
Cancel
Save