loginWithRedirect({ screen_hint: 'signup' }) not working

Here is my button’s code:

<Button
   id="qsLoginBtn"
   color="primary"
   className="btn-margin"
   onClick={() => loginWithRedirect({ screen_hint: 'signup' })}
>
   Log in
</Button>
1 Like