chore(web): add new person page #243

This commit is contained in:
Prayag Prajapati committed 2024-01-14 22:06:43 +05:30
1 parent 89f1a26ea7
commit dbb6e272b1
6 files changed
+226 -57

No files matched your search

-3
View File
@@ -6,9 +6,6 @@ import CardActionArea from "@mui/material/CardActionArea";
import Typography from "@mui/material/Typography";
import { Blurhash } from "react-blurhash";
import { MdiAccountTie } from "../icons/mdiAccountTie";
import { useApi } from "../../utils/store/api";
import "./card.module.scss";
@@ -48,27 +48,6 @@ export const ErrorNotice = ({ error, resetErrorBoundary }) => {
>
{error.message}
</Typography>
<Button
size="large"
variant="contained"
onClick={resetErrorBoundary ? resetErrorBoundary : () => {}}
style={{
marginTop: "1em",
}}
color="info"
>
Close
</Button>
<Typography
variant="subitle1"
fontWeight={300}
style={{
marginTop: "1em",
}}
>
Note: You need to click on CLOSE button if you change the page in order
to close this error message
</Typography>
</Box>
);
};