fixing bugs

This commit is contained in:
MuhammadKhalilzadeh committed 2024-07-23 09:12:11 +03:30
1 parent 6ff5fe2a36
commit 14bbb241b9
1 file changed
+5 -5
+5 -5
View File
@@ -2,7 +2,7 @@ import Button from "../../Components/Button";
import "./index.css"; import "./index.css";
import React from "react"; import React from "react";
import PropTypes from "prop-types"; import PropTypes from "prop-types";
import { Typography } from "@mui/material"; import { Stack, Typography } from "@mui/material";
/** /**
* Support for defaultProps will be removed from function components in a future major release * Support for defaultProps will be removed from function components in a future major release
@@ -31,8 +31,8 @@ const DefaultValue = {
*/ */
const NotFound = ({ title = DefaultValue.title, desc = DefaultValue.desc }) => { const NotFound = ({ title = DefaultValue.title, desc = DefaultValue.desc }) => {
return ( return (
<div className="not-found-page"> <Stack className="not-found-page">
<div className="not-found-template"> <Stack className="not-found-template">
<Typography id="not-found-title">{title}</Typography> <Typography id="not-found-title">{title}</Typography>
<Typography id="not-found-description">{desc}</Typography> <Typography id="not-found-description">{desc}</Typography>
<div <div
@@ -46,8 +46,8 @@ const NotFound = ({ title = DefaultValue.title, desc = DefaultValue.desc }) => {
sx={{ fontSize: "var(--env-var-font-size-medium)" }} sx={{ fontSize: "var(--env-var-font-size-medium)" }}
/> />
</div> </div>
</div> </Stack>
</div> </Stack>
); );
}; };