diff options
author | kytwb <kytwb@pm.me> | 2021-12-18 14:51:40 +0100 |
---|---|---|
committer | kytwb <kytwb@pm.me> | 2021-12-18 14:51:40 +0100 |
commit | 55abeb694ee2a9dca6b57470932e53d9abf6987d (patch) | |
tree | bedbaf3036057ff4c305cb1356085d996e73d597 /src | |
parent | Replace 'Login' with 'Exit session' in settings navigation (diff) | |
download | ferdium-app-55abeb694ee2a9dca6b57470932e53d9abf6987d.tar.gz ferdium-app-55abeb694ee2a9dca6b57470932e53d9abf6987d.tar.zst ferdium-app-55abeb694ee2a9dca6b57470932e53d9abf6987d.zip |
Fix classes names for Welcome screen
Diffstat (limited to 'src')
-rw-r--r-- | src/components/auth/Welcome.js | 4 | ||||
-rw-r--r-- | src/containers/auth/WelcomeScreen.js | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/components/auth/Welcome.js b/src/components/auth/Welcome.js index 4f7a5ce30..cfd26e2e9 100644 --- a/src/components/auth/Welcome.js +++ b/src/components/auth/Welcome.js | |||
@@ -27,7 +27,7 @@ const messages = defineMessages({ | |||
27 | }, | 27 | }, |
28 | }); | 28 | }); |
29 | 29 | ||
30 | class Login extends Component { | 30 | class Welcome extends Component { |
31 | static propTypes = { | 31 | static propTypes = { |
32 | loginRoute: PropTypes.string.isRequired, | 32 | loginRoute: PropTypes.string.isRequired, |
33 | signupRoute: PropTypes.string.isRequired, | 33 | signupRoute: PropTypes.string.isRequired, |
@@ -95,4 +95,4 @@ class Login extends Component { | |||
95 | } | 95 | } |
96 | } | 96 | } |
97 | 97 | ||
98 | export default injectIntl(inject('actions')(observer(Login))); | 98 | export default injectIntl(inject('actions')(observer(Welcome))); |
diff --git a/src/containers/auth/WelcomeScreen.js b/src/containers/auth/WelcomeScreen.js index 18b6b2eda..c6de3729f 100644 --- a/src/containers/auth/WelcomeScreen.js +++ b/src/containers/auth/WelcomeScreen.js | |||
@@ -6,7 +6,7 @@ import Welcome from '../../components/auth/Welcome'; | |||
6 | import UserStore from '../../stores/UserStore'; | 6 | import UserStore from '../../stores/UserStore'; |
7 | import RecipePreviewsStore from '../../stores/RecipePreviewsStore'; | 7 | import RecipePreviewsStore from '../../stores/RecipePreviewsStore'; |
8 | 8 | ||
9 | class LoginScreen extends Component { | 9 | class WelcomeScreen extends Component { |
10 | render() { | 10 | render() { |
11 | const { user, recipePreviews } = this.props.stores; | 11 | const { user, recipePreviews } = this.props.stores; |
12 | 12 | ||
@@ -21,11 +21,11 @@ class LoginScreen extends Component { | |||
21 | } | 21 | } |
22 | } | 22 | } |
23 | 23 | ||
24 | LoginScreen.propTypes = { | 24 | WelcomeScreen.propTypes = { |
25 | stores: PropTypes.shape({ | 25 | stores: PropTypes.shape({ |
26 | user: PropTypes.instanceOf(UserStore).isRequired, | 26 | user: PropTypes.instanceOf(UserStore).isRequired, |
27 | recipePreviews: PropTypes.instanceOf(RecipePreviewsStore).isRequired, | 27 | recipePreviews: PropTypes.instanceOf(RecipePreviewsStore).isRequired, |
28 | }).isRequired, | 28 | }).isRequired, |
29 | }; | 29 | }; |
30 | 30 | ||
31 | export default inject('stores', 'actions')(observer(LoginScreen)); | 31 | export default inject('stores', 'actions')(observer(WelcomeScreen)); |