1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-01-08 07:01:04 +00:00
This commit is contained in:
slowbackspace 2019-03-04 14:37:27 +01:00
parent 1b8477bcfe
commit 9e09d19334

View File

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