sst.dev
sst.dev copied to clipboard
Add the Session to the State Tutorial chapter
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);
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