sst / sst.dev

Repo for sst.dev

Home Page:https://sst.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add the Session to the State Tutorial chapter

ClaraGaya opened this issue · 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);

commented

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