2021-04-08 17:39:33 +02:00
|
|
|
// @flow
|
|
|
|
import React from 'react';
|
2022-06-22 15:07:15 +02:00
|
|
|
import { useHistory } from 'react-router';
|
2021-04-08 17:39:33 +02:00
|
|
|
import Page from 'component/page';
|
|
|
|
import ReportContent from 'component/reportContent';
|
|
|
|
|
|
|
|
export default function ReportContentPage(props: any) {
|
2022-06-22 15:07:15 +02:00
|
|
|
const { location } = useHistory();
|
|
|
|
|
2021-04-08 17:39:33 +02:00
|
|
|
return (
|
|
|
|
<Page
|
|
|
|
noSideNavigation
|
|
|
|
className="main--report-content"
|
|
|
|
backout={{
|
|
|
|
backoutLabel: __('Done'),
|
|
|
|
title: __('Report content'),
|
|
|
|
}}
|
2022-06-22 15:07:15 +02:00
|
|
|
authRedirect={`${location.pathname}${location.search}`} // 'report_content?claimId=xxx'
|
2021-04-08 17:39:33 +02:00
|
|
|
>
|
|
|
|
<ReportContent />
|
|
|
|
</Page>
|
|
|
|
);
|
|
|
|
}
|