mirror of
https://github.com/bubblecup-12/VogelSocialMedia.git
synced 2025-07-07 19:18:51 +00:00
add edit button to edit the bio
This commit is contained in:
parent
69d866e2b6
commit
59357e92fe
4 changed files with 47 additions and 25 deletions
|
@ -1,6 +1,8 @@
|
|||
import "./loginAndSignUpPage.css";
|
||||
import { useEffect, useState } from "react";
|
||||
import axios from "axios";
|
||||
import { Button } from "@mui/material";
|
||||
import ButtonPrimary from "../components/ButtonPrimary";
|
||||
|
||||
type FormData = {
|
||||
username: string;
|
||||
|
@ -134,11 +136,7 @@ function LoginAndSignUpPage({ signupProp }: { signupProp: boolean }) {
|
|||
</div>
|
||||
)}
|
||||
</div>
|
||||
<input
|
||||
type="submit"
|
||||
className="login-button body-m"
|
||||
value={signup ? "Sign up" : "Login"}
|
||||
></input>
|
||||
<ButtonPrimary value={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