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:
commit
ef59babb05
@ -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…
Reference in New Issue
Block a user