frontAnswerer/lib/components/ViewPublicationPage/ApologyPage.tsx
Nastya ad8c0a86a7
Some checks failed
Deploy / CreateImage (push) Failing after 3m24s
Deploy / DeployService (push) Failing after 24s
добавление переводов в зависимости юзеров
2025-07-01 03:56:48 +03:00

30 lines
667 B
TypeScript

import { Box, Typography } from "@mui/material";
import { FallbackProps } from "react-error-boundary";
type Props = Partial<FallbackProps>;
export const ApologyPage = ({ error }: Props) => {
let message = error.message || error.response?.data;
return (
<Box
sx={{
display: "flex",
alignItems: "center",
justifyContent: "center",
height: "100%",
backgroundColor: "#F2F3F7",
}}
>
<Typography
sx={{
textAlign: "center",
color: "text.primary",
}}
>
ккккккккккккккк
</Typography>
</Box>
);
};