frequentlyUsedLanguages
not updated correctly (#31386)
This commit is contained in:
parent
19849eb91d
commit
8adf67f2db
4 changed files with 2 additions and 24 deletions
|
@ -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());
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue