frequentlyUsedLanguages not updated correctly (#31386)

This commit is contained in:
Christian Schmidt 2024-09-03 17:55:13 +02:00 committed by GitHub
commit 8adf67f2db
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 2 additions and 24 deletions

View file

@ -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());
};