File tree Expand file tree Collapse file tree 9 files changed +17
-17
lines changed Expand file tree Collapse file tree 9 files changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ class NewFileForm extends React.Component {
58
58
59
59
NewFileForm . propTypes = {
60
60
fields : PropTypes . shape ( {
61
- name : PropTypes . objectOf ( PropTypes . shape ( ) )
61
+ name : PropTypes . objectOf ( PropTypes . shape ( ) ) . isRequired
62
62
} ) . isRequired ,
63
63
handleSubmit : PropTypes . func . isRequired ,
64
64
createFile : PropTypes . func . isRequired ,
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ class NewFolderForm extends React.Component {
56
56
57
57
NewFolderForm . propTypes = {
58
58
fields : PropTypes . shape ( {
59
- name : PropTypes . objectOf ( PropTypes . shape ( ) )
59
+ name : PropTypes . objectOf ( PropTypes . shape ( ) ) . isRequired
60
60
} ) . isRequired ,
61
61
handleSubmit : PropTypes . func . isRequired ,
62
62
createFolder : PropTypes . func . isRequired ,
Original file line number Diff line number Diff line change @@ -495,7 +495,7 @@ IDEView.propTypes = {
495
495
updatedAt : PropTypes . string ,
496
496
} ) . isRequired ,
497
497
editorAccessibility : PropTypes . shape ( {
498
- lintMessages : PropTypes . objectOf ( PropTypes . shape ( ) ) ,
498
+ lintMessages : PropTypes . objectOf ( PropTypes . shape ( ) ) . isRequired ,
499
499
} ) . isRequired ,
500
500
preferences : PropTypes . shape ( {
501
501
autosave : PropTypes . bool . isRequired ,
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import CopyableInput from '../../IDE/components/CopyableInput';
7
7
import APIKeyList from './APIKeyList' ;
8
8
9
9
export const APIKeyPropType = PropTypes . shape ( {
10
- id : PropTypes . objectOf ( PropTypes . shape ( ) ) ,
10
+ id : PropTypes . objectOf ( PropTypes . shape ( ) ) . isRequired ,
11
11
token : PropTypes . objectOf ( PropTypes . shape ( ) ) ,
12
12
label : PropTypes . string . isRequired ,
13
13
createdAt : PropTypes . string . isRequired ,
Original file line number Diff line number Diff line change @@ -109,10 +109,10 @@ function AccountForm(props) {
109
109
110
110
AccountForm . propTypes = {
111
111
fields : PropTypes . shape ( {
112
- username : PropTypes . objectOf ( PropTypes . shape ( ) ) ,
113
- email : PropTypes . objectOf ( PropTypes . shape ( ) ) ,
114
- currentPassword : PropTypes . objectOf ( PropTypes . shape ( ) ) ,
115
- newPassword : PropTypes . objectOf ( PropTypes . shape ( ) ) ,
112
+ username : PropTypes . objectOf ( PropTypes . shape ( ) ) . isRequired ,
113
+ email : PropTypes . objectOf ( PropTypes . shape ( ) ) . isRequired ,
114
+ currentPassword : PropTypes . objectOf ( PropTypes . shape ( ) ) . isRequired ,
115
+ newPassword : PropTypes . objectOf ( PropTypes . shape ( ) ) . isRequired ,
116
116
} ) . isRequired ,
117
117
user : PropTypes . shape ( {
118
118
verified : PropTypes . string . isRequired ,
Original file line number Diff line number Diff line change @@ -54,8 +54,8 @@ function LoginForm(props) {
54
54
55
55
LoginForm . propTypes = {
56
56
fields : PropTypes . shape ( {
57
- email : PropTypes . objectOf ( PropTypes . shape ( ) ) ,
58
- password : PropTypes . objectOf ( PropTypes . shape ( ) ) ,
57
+ email : PropTypes . objectOf ( PropTypes . shape ( ) ) . isRequired ,
58
+ password : PropTypes . objectOf ( PropTypes . shape ( ) ) . isRequired ,
59
59
} ) . isRequired ,
60
60
handleSubmit : PropTypes . func . isRequired ,
61
61
validateAndLoginUser : PropTypes . func . isRequired ,
Original file line number Diff line number Diff line change @@ -47,8 +47,8 @@ function NewPasswordForm(props) {
47
47
48
48
NewPasswordForm . propTypes = {
49
49
fields : PropTypes . shape ( {
50
- password : PropTypes . objectOf ( PropTypes . shape ( ) ) ,
51
- confirmPassword : PropTypes . objectOf ( PropTypes . shape ( ) ) ,
50
+ password : PropTypes . objectOf ( PropTypes . shape ( ) ) . isRequired ,
51
+ confirmPassword : PropTypes . objectOf ( PropTypes . shape ( ) ) . isRequired ,
52
52
} ) . isRequired ,
53
53
handleSubmit : PropTypes . func . isRequired ,
54
54
updatePassword : PropTypes . func . isRequired ,
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ function ResetPasswordForm(props) {
37
37
38
38
ResetPasswordForm . propTypes = {
39
39
fields : PropTypes . shape ( {
40
- email : PropTypes . objectOf ( PropTypes . shape ( ) )
40
+ email : PropTypes . objectOf ( PropTypes . shape ( ) ) . isRequired
41
41
} ) . isRequired ,
42
42
handleSubmit : PropTypes . func . isRequired ,
43
43
initiateResetPassword : PropTypes . func . isRequired ,
Original file line number Diff line number Diff line change @@ -83,10 +83,10 @@ function SignupForm(props) {
83
83
84
84
SignupForm . propTypes = {
85
85
fields : PropTypes . shape ( {
86
- username : PropTypes . objectOf ( PropTypes . shape ( ) ) ,
87
- email : PropTypes . objectOf ( PropTypes . shape ( ) ) ,
88
- password : PropTypes . objectOf ( PropTypes . shape ( ) ) ,
89
- confirmPassword : PropTypes . objectOf ( PropTypes . shape ( ) ) ,
86
+ username : PropTypes . objectOf ( PropTypes . shape ( ) ) . isRequired ,
87
+ email : PropTypes . objectOf ( PropTypes . shape ( ) ) . isRequired ,
88
+ password : PropTypes . objectOf ( PropTypes . shape ( ) ) . isRequired ,
89
+ confirmPassword : PropTypes . objectOf ( PropTypes . shape ( ) ) . isRequired ,
90
90
} ) . isRequired ,
91
91
handleSubmit : PropTypes . func . isRequired ,
92
92
signUpUser : PropTypes . func . isRequired ,
You can’t perform that action at this time.
0 commit comments