Client - store language w/ redux

This commit is contained in:
Sam
2019-09-08 17:14:48 +02:00
parent 6f7f69a807
commit 745d102ee2
4 changed files with 32 additions and 13 deletions

View File

@ -12,6 +12,11 @@ export const setError = message => ({
message,
})
export const setLanguage = language => ({
type: 'SET_LANGUAGE',
language,
})
export const setLoading = loading => ({
type: 'SET_LOADING',
loading,