frequentlyUsedLanguages not updated correctly (#31386)
This commit is contained in:
1 parent
19849eb91d
commit
8adf67f2db
4 files changed
+2
-24
No files matched your search
@@ -1,12 +0,0 @@
|
||||
import { saveSettings } from './settings';
|
||||
|
||||
export const LANGUAGE_USE = 'LANGUAGE_USE';
|
||||
|
||||
export const useLanguage = language => dispatch => {
|
||||
dispatch({
|
||||
type: LANGUAGE_USE,
|
||||
language,
|
||||
});
|
||||
|
||||
dispatch(saveSettings());
|
||||
};
|
||||
Reference in new issue
Block a user