From 829f00de4cee9b431af6af430cd23c0ceae9e21e Mon Sep 17 00:00:00 2001 From: Monil Bhavsar Date: Tue, 9 Nov 2021 12:43:11 +0530 Subject: [PATCH] Fixing things --- src/components/LocalePicker.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/LocalePicker.js b/src/components/LocalePicker.js index 2a58b1b53fd4..f5376e422325 100644 --- a/src/components/LocalePicker.js +++ b/src/components/LocalePicker.js @@ -48,13 +48,13 @@ const LocalePicker = (props) => { return ( { if (locale === props.preferredLocale) { return; } - setLocale(); + setLocale(locale); }} items={_.values(localesToLanguages)} size={props.size}