From 5c7029dd978f567d64c3aca73b3046ba79bd52e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A4=D1=80=D0=BE=D0=BB=D0=BE=D0=B2?= Date: Mon, 19 Jul 2021 16:19:01 +0500 Subject: [PATCH] fix report warnings --- src/pages/Report.jsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/pages/Report.jsx b/src/pages/Report.jsx index f3b30c0..c7574d3 100644 --- a/src/pages/Report.jsx +++ b/src/pages/Report.jsx @@ -67,7 +67,7 @@ export default function Report(props) { title: 'Название отчета', dataIndex: 'reportName', key: 'reportName', - render: name => getReportFile(event, name)} download={name}>{name} + render: name => getReportFile(event, name)} download={name}>{name} }, ]; @@ -80,7 +80,7 @@ export default function Report(props) {
{ progressData.operation }
- {getReportFile(event, progressData.reportName)}} + {getReportFile(event, progressData.reportName)}} download={progressData.reportName}> { progressData.reportName } @@ -172,7 +172,7 @@ export default function Report(props) { } getRepostSizeAsync() - },[rangeDate, step, format]) + },[rangeDate, step, format, wellId]) useEffect(()=>{ async function getSuitableReportsAsync() { @@ -204,7 +204,7 @@ export default function Report(props) { } getSuitableReportsAsync() - },[rangeDate, step, format]) + },[rangeDate, step, format, wellId]) useEffect(()=>{ async function getDatesRange() { @@ -214,7 +214,7 @@ export default function Report(props) { } getDatesRange() - },[]) + },[wellId]) return (<>