aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/reducers/locale.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/reducers/locale.js')
-rw-r--r--ui/app/reducers/locale.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/app/reducers/locale.js b/ui/app/reducers/locale.js
index edfe9e865..bdd97acb4 100644
--- a/ui/app/reducers/locale.js
+++ b/ui/app/reducers/locale.js
@@ -8,7 +8,9 @@ function reduceMetamask (state, action) {
switch (action.type) {
case actions.SET_LOCALE_MESSAGES:
- return action.value
+ return extend(localeMessagesState, {
+ current: action.value,
+ })
default:
return localeMessagesState
}