mirror of
https://github.com/bubblecup-12/VogelSocialMedia.git
synced 2025-07-09 00:08:46 +00:00
change component name of Button
This commit is contained in:
parent
ec27a07119
commit
775ba536fa
2 changed files with 2 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
|||
import "./loginAndSignUpPage.css";
|
||||
import { useEffect, useState } from "react";
|
||||
import axios from "axios";
|
||||
import ButtonPrimary from "../components/ButtonRotkehlchen";
|
||||
import ButtonRotkehlchen from "../components/ButtonRotkehlchen";
|
||||
|
||||
type FormData = {
|
||||
username: string;
|
||||
|
@ -135,7 +135,7 @@ function LoginAndSignUpPage({ signupProp }: { signupProp: boolean }) {
|
|||
</div>
|
||||
)}
|
||||
</div>
|
||||
<ButtonPrimary style="primary" label={signup ? "Sign Up" : "Login"} />
|
||||
<ButtonRotkehlchen style="primary" label={signup ? "Sign Up" : "Login"} />
|
||||
<div className="login-signup body-m" onClick={toggleLogin}>
|
||||
{signup
|
||||
? "Already have an account? "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue