Skip to content

Commit 834a115

Browse files
committed
added defaultProps for EmailVerficationVeiw
1 parent ac4e150 commit 834a115

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

client/modules/User/pages/EmailVerificationView.jsx

+5-1
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,16 @@ function mapDispatchToProps(dispatch) {
7070
);
7171
}
7272

73+
EmailVerificationView.defaultProps = {
74+
emailVerificationTokenState: null
75+
};
76+
7377
EmailVerificationView.propTypes = {
7478
emailVerificationTokenState: PropTypes.oneOf([
7579
'checking',
7680
'verified',
7781
'invalid'
78-
]).isRequired,
82+
]),
7983
verifyEmailConfirmation: PropTypes.func.isRequired,
8084
t: PropTypes.func.isRequired,
8185
location: PropTypes.shape({

0 commit comments

Comments
 (0)