Commit f9eb4aa5 authored by Sébastiaan's avatar Sébastiaan
Browse files

Fix loading event after event cancellation

parent c351bc3d
......@@ -76,6 +76,7 @@ const update = function* update(action) {
const cancel = function* cancel(action) {
const { registration } = action.payload;
const token = yield select(tokenSelector);
const event = yield select(eventSelector);
yield put(eventActions.fetching());
......@@ -94,7 +95,7 @@ const cancel = function* cancel(action) {
} catch (error) {
// Swallow error for now
}
const event = yield select(eventSelector);
yield put(eventActions.event(event));
};
......
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