From ff5fd0966900cf580145e991528aa1efc3943060 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Thu, 2 Mar 2023 11:13:07 +0800 Subject: [PATCH] Fix this totally unset key --- src/components/compose.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/compose.jsx b/src/components/compose.jsx index 9fdd23bd..ca0ca335 100644 --- a/src/components/compose.jsx +++ b/src/components/compose.jsx @@ -1014,7 +1014,7 @@ function Compose({ onChange={(e) => { const { value } = e.target; setLanguage(value || DEFAULT_LANG); - store.session.set('language', value); + store.session.set('currentLanguage', value || DEFAULT_LANG); }} disabled={uiState === 'loading'} >