1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 01:47:00 +01:00

initialize currentLocale in the locale slice upon app start (#17579)

This commit is contained in:
Brad Decker 2023-02-02 15:24:48 -06:00 committed by GitHub
parent f3c00c65d0
commit 3fc26521d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -90,6 +90,7 @@ async function startApp(metamaskState, backgroundConnection, opts) {
appState: {},
localeMessages: {
currentLocale: metamaskState.currentLocale,
current: currentLocaleMessages,
en: enLocaleMessages,
},