change button functions

This commit is contained in:
luisa.bellitto 2025-06-24 13:47:13 +02:00 committed by Rudi Regentonne
parent 775ba536fa
commit e09252bd76
7 changed files with 88 additions and 33 deletions

View file

@ -135,7 +135,7 @@ function LoginAndSignUpPage({ signupProp }: { signupProp: boolean }) {
</div>
)}
</div>
<ButtonRotkehlchen style="primary" label={signup ? "Sign Up" : "Login"} />
<ButtonRotkehlchen style="primary" label={signup ? "Sign Up" : "Login"} type="submit"/>
<div className="login-signup body-m" onClick={toggleLogin}>
{signup
? "Already have an account? "