mirror of
https://github.com/bubblecup-12/VogelSocialMedia.git
synced 2025-07-06 15:18:48 +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? "
|
||||
|
|
|
@ -6,13 +6,10 @@ import "../styles/fonts.css";
|
|||
import { useState } from "react";
|
||||
import QuiltedImageList from "../components/QuiltedImageList";
|
||||
import {
|
||||
Box,
|
||||
StyledEngineProvider,
|
||||
Divider,
|
||||
Button,
|
||||
Popover,
|
||||
Typography,
|
||||
TextField
|
||||
} from "@mui/material";
|
||||
import ChangeAvatarDialog from "../components/ChangeAvatarDialog";
|
||||
import Bio from "../components/Bio";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue