mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-22 23:21:15 +00:00
fix: Fix sign-in-button cypress tests
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
7f7f020d91
commit
f2ae04743a
1 changed files with 2 additions and 2 deletions
|
@ -39,8 +39,8 @@ export const SignInButton: React.FC<SignInButtonProps> = ({ variant, ...props })
|
|||
|
||||
return (
|
||||
<ShowIf condition={authProviders.length > 0}>
|
||||
<Link href={loginLink} passHref={true}>
|
||||
<Button title={t('login.signIn')} {...cypressId('sign-in-button')} variant={variant || 'success'} {...props}>
|
||||
<Link href={loginLink} passHref={true} {...cypressId('sign-in-button')}>
|
||||
<Button title={t('login.signIn')} variant={variant || 'success'} {...props}>
|
||||
<Trans i18nKey='login.signIn' />
|
||||
</Button>
|
||||
</Link>
|
||||
|
|
Loading…
Reference in a new issue