From f221ae5290d80f263df3709a551ae500ce9f036f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A4=D1=80=D0=BE=D0=BB=D0=BE=D0=B2?= Date: Tue, 25 May 2021 17:13:38 +0500 Subject: [PATCH] component rename --- src/pages/Archive.jsx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/pages/Archive.jsx b/src/pages/Archive.jsx index 0671f1e..54285b5 100644 --- a/src/pages/Archive.jsx +++ b/src/pages/Archive.jsx @@ -22,14 +22,13 @@ const { RangePicker } = DatePicker; const { Option } = Select; // Выбор периода времени -const PeriodOfTime = () => { - // const [startDate, setStartDate] = useState(new Date()); - +const RangePickerLocalized = ({locale, ...other}) => { return ( ) @@ -71,7 +70,9 @@ const SelectDataCharts = () => { { label: "Расход. Холостой ход", xAccessorName: "flowIdle", color: '#a0a' }, { label: "Расход. Аварийный макс.", xAccessorName: "flowDeltaLimitMax", color: '#a0a' }, ] + const children = linesCollection.map((line) => ()) + function handleChange(value) { console.log(`selected ${value}`); } @@ -159,7 +160,7 @@ export default function Archive(props) { textAlign: 'center', margin: '5px 5px', }}>Добавить график - +