change component name of Button

This commit is contained in:
luisa.bellitto 2025-06-24 12:31:03 +02:00 committed by Rudi Regentonne
parent ec27a07119
commit 775ba536fa
2 changed files with 2 additions and 5 deletions

View file

@ -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? "

View file

@ -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";