sbt-idp/cope2n-fe/src/components/results/500.tsx

16 lines
301 B
TypeScript
Raw Normal View History

2023-11-30 11:19:06 +00:00
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.`}
/>
);
}