sbt-idp/cope2n-fe/src/components/results/500.tsx
2023-11-30 18:19:06 +07:00

16 lines
301 B
TypeScript

import { t } from '@lingui/macro';
import { useLingui } from '@lingui/react';
import { Result } from 'antd';
export default function () {
const { i18n } = useLingui();
return (
<Result
status="500"
title="500"
subTitle={t(i18n)`Sorry, something went wrong.`}
/>
);
}