Skip to content
Discussion options

You must be logged in to vote

signIn is usually associated with the action of signing in, and not a page navigation, so I think more often you want to use a button element. Especially in this case, where you have an onClick event handler on an a that has no href. If I had to guess, you have to do call .preventDefault() before signIn.

Tell me if that works.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@edonadei
Comment options

@edonadei
Comment options

@edonadei
Comment options

@balazsorban44
Comment options

Answer selected by edonadei
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
question Ask how to do something or how something works
2 participants
Converted from issue

This discussion was converted from issue #2733 on September 12, 2021 18:50.