|
|
@@ -13,7 +13,7 @@ const INITIAL_STATE = {
|
|
|
export default (state = INITIAL_STATE, action) => {
|
|
|
switch (action.type) {
|
|
|
case CLASE_FETCH:
|
|
|
- return { ...state, loading: true };
|
|
|
+ return { ...state, curClase: { error: false }, loading: true };
|
|
|
case CLASE_FETCH_SUCCESS:
|
|
|
return { ...state, loading: false, curClase: action.payload };
|
|
|
case CLASE_FETCH_FAIL:
|