fixes missing state parameter in reducer
@@ -53,7 +53,10 @@ export default function(userData = initialState, action = {}) {
}
case actionTypes.registerReset:
- return Immutable.fromJS({ registerError: undefined });
+ return Immutable.fromJS({
+ registerError: undefined,
+ acceptedDisclaimer: userData.get('acceptedDisclaimer'),
+ });
case actionTypes.registerFailed:
return Immutable.fromJS({
