diff options
author | 2018-02-02 19:57:25 +0100 | |
---|---|---|
committer | 2018-02-02 19:57:25 +0100 | |
commit | 67105441b73d4cafcc5be9a176cd884b86761389 (patch) | |
tree | 8d1eb39efb64a0cb9933527e0bc3af9d1b69d3d1 /src/components/auth/Invite.js | |
parent | fix linting errors (diff) | |
download | ferdium-app-67105441b73d4cafcc5be9a176cd884b86761389.tar.gz ferdium-app-67105441b73d4cafcc5be9a176cd884b86761389.tar.zst ferdium-app-67105441b73d4cafcc5be9a176cd884b86761389.zip |
fix defaultProps
Diffstat (limited to 'src/components/auth/Invite.js')
-rw-r--r-- | src/components/auth/Invite.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/components/auth/Invite.js b/src/components/auth/Invite.js index 285ebebcf..2dcce7f83 100644 --- a/src/components/auth/Invite.js +++ b/src/components/auth/Invite.js | |||
@@ -44,12 +44,14 @@ export default class Invite extends Component { | |||
44 | static propTypes = { | 44 | static propTypes = { |
45 | onSubmit: PropTypes.func.isRequired, | 45 | onSubmit: PropTypes.func.isRequired, |
46 | embed: PropTypes.bool, | 46 | embed: PropTypes.bool, |
47 | isInviteSuccessful: PropTypes.bool.isRequired, | 47 | isInviteSuccessful: PropTypes.bool, |
48 | isLoadingInvite: PropTypes.bool.isRequired, | 48 | isLoadingInvite: PropTypes.bool, |
49 | }; | 49 | }; |
50 | 50 | ||
51 | static defaultProps = { | 51 | static defaultProps = { |
52 | embed: false, | 52 | embed: false, |
53 | isInviteSuccessful: false, | ||
54 | isLoadingInvite: false, | ||
53 | }; | 55 | }; |
54 | 56 | ||
55 | static contextTypes = { | 57 | static contextTypes = { |