diff options
author | haraldox <hnaumann+github@gmail.com> | 2018-02-02 19:57:25 +0100 |
---|---|---|
committer | haraldox <hnaumann+github@gmail.com> | 2018-02-02 19:57:25 +0100 |
commit | 67105441b73d4cafcc5be9a176cd884b86761389 (patch) | |
tree | 8d1eb39efb64a0cb9933527e0bc3af9d1b69d3d1 /src | |
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')
-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 = { |