mirror of
https://github.com/bubblecup-12/VogelSocialMedia.git
synced 2025-07-07 19:18:51 +00:00
change component name of Button
This commit is contained in:
parent
01a313c0f8
commit
d0d879336e
2 changed files with 2 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
||||||
import "./loginAndSignUpPage.css";
|
import "./loginAndSignUpPage.css";
|
||||||
import { useEffect, useState } from "react";
|
import { useEffect, useState } from "react";
|
||||||
import axios from "axios";
|
import axios from "axios";
|
||||||
import ButtonPrimary from "../components/ButtonRotkehlchen";
|
import ButtonRotkehlchen from "../components/ButtonRotkehlchen";
|
||||||
|
|
||||||
type FormData = {
|
type FormData = {
|
||||||
username: string;
|
username: string;
|
||||||
|
@ -135,7 +135,7 @@ function LoginAndSignUpPage({ signupProp }: { signupProp: boolean }) {
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</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}>
|
<div className="login-signup body-m" onClick={toggleLogin}>
|
||||||
{signup
|
{signup
|
||||||
? "Already have an account? "
|
? "Already have an account? "
|
||||||
|
|
|
@ -6,13 +6,10 @@ import "../styles/fonts.css";
|
||||||
import { useState } from "react";
|
import { useState } from "react";
|
||||||
import QuiltedImageList from "../components/QuiltedImageList";
|
import QuiltedImageList from "../components/QuiltedImageList";
|
||||||
import {
|
import {
|
||||||
Box,
|
|
||||||
StyledEngineProvider,
|
StyledEngineProvider,
|
||||||
Divider,
|
Divider,
|
||||||
Button,
|
|
||||||
Popover,
|
Popover,
|
||||||
Typography,
|
Typography,
|
||||||
TextField
|
|
||||||
} from "@mui/material";
|
} from "@mui/material";
|
||||||
import ChangeAvatarDialog from "../components/ChangeAvatarDialog";
|
import ChangeAvatarDialog from "../components/ChangeAvatarDialog";
|
||||||
import Bio from "../components/Bio";
|
import Bio from "../components/Bio";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue