Commit 427d46c2 authored by Gijs Hendriksen's avatar Gijs Hendriksen
Browse files

Fix issue where RegistrationScreen was closed immediately

parent e24dc076
......@@ -33,7 +33,7 @@ const register = function* register(action) {
try {
const registration = yield call(apiRequest, `events/${event}/registrations`, data);
yield put(eventActions.event(event));
yield put(eventActions.event(event, false));
if (registration.fields) {
yield put(registrationActions.retrieveFields(registration.pk));
}
......@@ -100,7 +100,7 @@ const cancel = function* cancel(action) {
Sentry.captureException(error);
}
yield put(eventActions.event(event));
yield put(eventActions.event(event, false));
};
const fields = function* fields(action) {
......
Markdown is supported
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