diff options
author | 2018-02-06 09:10:31 +0100 | |
---|---|---|
committer | 2018-02-06 09:10:31 +0100 | |
commit | 48059682d04c5911add9f962a85ef6d514355ee5 (patch) | |
tree | 9f22d69b0720a3162a9492037feaa2369c829656 /src/containers/auth | |
parent | Merge branch 'develop' into feature/invite-button (diff) | |
download | ferdium-app-48059682d04c5911add9f962a85ef6d514355ee5.tar.gz ferdium-app-48059682d04c5911add9f962a85ef6d514355ee5.tar.zst ferdium-app-48059682d04c5911add9f962a85ef6d514355ee5.zip |
[MINOR] house cleaning
Diffstat (limited to 'src/containers/auth')
-rw-r--r-- | src/containers/auth/InviteScreen.js | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/containers/auth/InviteScreen.js b/src/containers/auth/InviteScreen.js index 7102df0b9..e54d8d225 100644 --- a/src/containers/auth/InviteScreen.js +++ b/src/containers/auth/InviteScreen.js | |||
@@ -11,16 +11,12 @@ export default class InviteScreen extends Component { | |||
11 | } | 11 | } |
12 | 12 | ||
13 | render() { | 13 | render() { |
14 | const { | 14 | const { actions } = this.props; |
15 | actions, | ||
16 | location, | ||
17 | } = this.props; | ||
18 | 15 | ||
19 | return ( | 16 | return ( |
20 | <div className="auth__container auth__container--signup"> | 17 | <div className="auth__container auth__container--signup"> |
21 | <Invite | 18 | <Invite |
22 | onSubmit={actions.user.invite} | 19 | onSubmit={actions.user.invite} |
23 | from={location.query.from} | ||
24 | embed={false} | 20 | embed={false} |
25 | /> | 21 | /> |
26 | </div> | 22 | </div> |
@@ -34,9 +30,4 @@ InviteScreen.wrappedComponent.propTypes = { | |||
34 | invite: PropTypes.func.isRequired, | 30 | invite: PropTypes.func.isRequired, |
35 | }).isRequired, | 31 | }).isRequired, |
36 | }).isRequired, | 32 | }).isRequired, |
37 | location: PropTypes.shape({ | ||
38 | query: PropTypes.shape({ | ||
39 | from: PropTypes.string, | ||
40 | }), | ||
41 | }).isRequired, | ||
42 | }; | 33 | }; |