removed unused action types
This commit is contained in:
parent
fe5ba7cb9e
commit
4ea5e8b937
2 changed files with 2 additions and 6 deletions
|
@ -298,10 +298,8 @@ export function doClearCache() {
|
|||
}
|
||||
|
||||
export function doChangeLanguage(newLanguage) {
|
||||
return function(dispatch, getState) {
|
||||
app.i18n.setLocale(newLanguage);
|
||||
return {
|
||||
type: types.CHANGE_LANGUAGE,
|
||||
data: { newLanguage: newLanguage },
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -115,8 +115,6 @@ export const CLAIM_REWARD_CLEAR_ERROR = "CLAIM_REWARD_CLEAR_ERROR";
|
|||
export const FETCH_REWARD_CONTENT_COMPLETED = "FETCH_REWARD_CONTENT_COMPLETED";
|
||||
|
||||
//Language
|
||||
export const CHANGE_LANGUAGE = "CHANGE_LANGUAGE";
|
||||
export const LANGUAGE_CHANGED = "LANGUAGE_CHANGED";
|
||||
export const LANGUAGE_RESOLVED = "LANGUAGE_RESOLVED";
|
||||
export const DOWNLOAD_LANGUAGE_STARTED = "DOWNLOAD_LANGUAGE_STARTED";
|
||||
export const DOWNLOAD_LANGUAGE_SUCCEEDED = "DOWNLOAD_LANGUAGE_SUCCEEDED";
|
||||
|
|
Loading…
Reference in a new issue