emmanuelmillionaer / aws-cognito-js-login

Example app showing correct set up and usage of amazon-cognito-identity for js
MIT License
36 stars 21 forks source link

main.js special character #4

Open grahamkenville opened 6 years ago

grahamkenville commented 6 years ago

In main.js, line 185:

var LoggedIn = function(cognitoUser, session) {

For some reason there's a special character between the end paren and the curly brace which was giving me a javascript error. Deleting it removed the error.

Thanks for creating this sample, it's very helpful.