Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the Session to the State Tutorial chapter #410

Open
ClaraGaya opened this issue Oct 22, 2019 · 1 comment
Open

Add the Session to the State Tutorial chapter #410

ClaraGaya opened this issue Oct 22, 2019 · 1 comment

Comments

@ClaraGaya
Copy link

There's a tiny error in the tutorial chapter Add the Session to the State

should be
props.appProps.userHasAuthenticated(true);

instead of
props.userHasAuthenticated(true);

@jayair
Copy link
Contributor

jayair commented Oct 26, 2019

Hmmm I don't think it should be because we pass the appProps to the component in its props. You can check it out in our sample repo - https://github.com/AnomalyInnovations/serverless-stack-demo-client/blob/redirect-on-login/src/containers/Login.js#L26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants