Answer the question
In order to leave comments, you need to log in
GetState doesn't come in thunk, why is that?
there is a sledge
export function prevDay(){
return (dispatch, getState) => {
// getState === undefined
return dispatch(_prev( getState().day));
}
}
Answer the question
In order to leave comments, you need to log in
It seems to me that at this moment:
$('.lang-qz').click(function () {
localStorage['lang'] = 'qz';
window.location.reload();
});
$('.lang-qz').click(function () {
localStorage.setItem('lang', 'qz');
window.location.reload();
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question