aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar kytwb <kytwb@pm.me>2021-12-18 14:51:40 +0100
committerLibravatar kytwb <kytwb@pm.me>2021-12-18 14:51:40 +0100
commit55abeb694ee2a9dca6b57470932e53d9abf6987d (patch)
treebedbaf3036057ff4c305cb1356085d996e73d597 /src
parentReplace 'Login' with 'Exit session' in settings navigation (diff)
downloadferdium-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.js4
-rw-r--r--src/containers/auth/WelcomeScreen.js6
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
30class Login extends Component { 30class 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
98export default injectIntl(inject('actions')(observer(Login))); 98export 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';
6import UserStore from '../../stores/UserStore'; 6import UserStore from '../../stores/UserStore';
7import RecipePreviewsStore from '../../stores/RecipePreviewsStore'; 7import RecipePreviewsStore from '../../stores/RecipePreviewsStore';
8 8
9class LoginScreen extends Component { 9class 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
24LoginScreen.propTypes = { 24WelcomeScreen.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
31export default inject('stores', 'actions')(observer(LoginScreen)); 31export default inject('stores', 'actions')(observer(WelcomeScreen));