Skip to content

Instantly share code, notes, and snippets.

@nparsons08

nparsons08/check-auth-state.js Secret

Created Feb 26, 2020
Embed
What would you like to do?
const user = document.getElementById('user-login-input');
user.addEventListener('keyup', function(event) {
if (event.key === 'Enter') {
checkAuthState();
}
});
checkAuthState();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.