Commit 1b0a9ba6 authored by Gijs Hendriksen's avatar Gijs Hendriksen
Browse files

Merge branch 'fix/event-loading-after-registration-cancel' into 'master'

Fix/event loading after registration cancel

See merge request !133
parents 85208ef9 f9eb4aa5
......@@ -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