lbry-desktop/ui/page/reportContent/view.jsx

24 lines
585 B
React
Raw Normal View History

2021-04-08 17:39:33 +02:00
// @flow
import React from 'react';
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) {
const { location } = useHistory();
2021-04-08 17:39:33 +02:00
return (
<Page
noSideNavigation
className="main--report-content"
backout={{
backoutLabel: __('Done'),
title: __('Report content'),
}}
authRedirect={`${location.pathname}${location.search}`} // 'report_content?claimId=xxx'
2021-04-08 17:39:33 +02:00
>
<ReportContent />
</Page>
);
}