diff options
author | 2019-10-21 18:19:19 +0700 | |
---|---|---|
committer | 2019-10-21 18:19:19 +0700 | |
commit | 9724d4a3ad849cb688545946edb2e878e4a4efc4 (patch) | |
tree | 60ea66da467166ddaf4e426ab4fae7b7e2da1f2f /src/components/auth | |
parent | Fix case sensitive conflict on locale file (diff) | |
download | ferdium-app-9724d4a3ad849cb688545946edb2e878e4a4efc4.tar.gz ferdium-app-9724d4a3ad849cb688545946edb2e878e4a4efc4.tar.zst ferdium-app-9724d4a3ad849cb688545946edb2e878e4a4efc4.zip |
Fix more observers related warnings
Diffstat (limited to 'src/components/auth')
-rw-r--r-- | src/components/auth/Login.js | 2 | ||||
-rw-r--r-- | src/components/auth/Signup.js | 2 | ||||
-rw-r--r-- | src/components/auth/Welcome.js | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/components/auth/Login.js b/src/components/auth/Login.js index e58016e25..e25121de0 100644 --- a/src/components/auth/Login.js +++ b/src/components/auth/Login.js | |||
@@ -70,7 +70,7 @@ const messages = defineMessages({ | |||
70 | }, | 70 | }, |
71 | }); | 71 | }); |
72 | 72 | ||
73 | export default @observer @inject('actions') class Login extends Component { | 73 | export default @inject('actions') @observer class Login extends Component { |
74 | static propTypes = { | 74 | static propTypes = { |
75 | onSubmit: PropTypes.func.isRequired, | 75 | onSubmit: PropTypes.func.isRequired, |
76 | isSubmitting: PropTypes.bool.isRequired, | 76 | isSubmitting: PropTypes.bool.isRequired, |
diff --git a/src/components/auth/Signup.js b/src/components/auth/Signup.js index 47e9daf18..a166155a7 100644 --- a/src/components/auth/Signup.js +++ b/src/components/auth/Signup.js | |||
@@ -74,7 +74,7 @@ const messages = defineMessages({ | |||
74 | }, | 74 | }, |
75 | }); | 75 | }); |
76 | 76 | ||
77 | export default @observer @inject('actions') class Signup extends Component { | 77 | export default @inject('actions') @observer class Signup extends Component { |
78 | static propTypes = { | 78 | static propTypes = { |
79 | onSubmit: PropTypes.func.isRequired, | 79 | onSubmit: PropTypes.func.isRequired, |
80 | isSubmitting: PropTypes.bool.isRequired, | 80 | isSubmitting: PropTypes.bool.isRequired, |
diff --git a/src/components/auth/Welcome.js b/src/components/auth/Welcome.js index 2ca8b430f..1453c1d7c 100644 --- a/src/components/auth/Welcome.js +++ b/src/components/auth/Welcome.js | |||
@@ -22,7 +22,7 @@ const messages = defineMessages({ | |||
22 | }, | 22 | }, |
23 | }); | 23 | }); |
24 | 24 | ||
25 | export default @observer @inject('actions') class Login extends Component { | 25 | export default @inject('actions') @observer class Login extends Component { |
26 | static propTypes = { | 26 | static propTypes = { |
27 | loginRoute: PropTypes.string.isRequired, | 27 | loginRoute: PropTypes.string.isRequired, |
28 | signupRoute: PropTypes.string.isRequired, | 28 | signupRoute: PropTypes.string.isRequired, |