mirror of https://github.com/mastodon/mastodon
`frequentlyUsedLanguages` not updated correctly (#31386)
parent
19849eb91d
commit
8adf67f2db
@ -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…
Reference in New Issue