sst.dev icon indicating copy to clipboard operation
sst.dev copied to clipboard

Add the Session to the State Tutorial chapter

Open ClaraGaya opened this issue 5 years ago • 1 comments

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);

ClaraGaya avatar Oct 22 '19 14:10 ClaraGaya

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

jayair avatar Oct 26 '19 02:10 jayair