Commit 78856e8b authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Change event reducer to reset events to initial state on FETCHING action

parent e879e307
......@@ -24,7 +24,7 @@ export default function loadEvent(state = initialState, action = {}) {
switch (action.type) {
case eventActions.FETCHING: {
return {
...state,
...initialState,
loading: true,
};
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment