修复react内容报错

This commit is contained in:
JIANG
2026-03-02 11:33:37 +08:00
parent 2d27e803a3
commit 6c5862f7e4
3 changed files with 52 additions and 47 deletions
+4 -8
View File
@@ -5,7 +5,7 @@ import Button from "@mui/material/Button";
import Container from "@mui/material/Container";
import Typography from "@mui/material/Typography";
import { useLogin } from "@refinedev/core";
import { ThemedTitle } from "@refinedev/mui";
import { Title } from "@components/title";
export default function Login() {
const { mutate: login } = useLogin();
@@ -25,13 +25,9 @@ export default function Login() {
justifyContent="center"
flexDirection="column"
>
<ThemedTitle
collapsed={false}
wrapperStyles={{
fontSize: "22px",
justifyContent: "center",
}}
/>
<Box display="flex" justifyContent="center">
<Title collapsed={false} />
</Box>
<Button
style={{ width: "240px" }}
size="large"