From da283f181853c02c26f6f4638e220d0c7a47f838 Mon Sep 17 00:00:00 2001 From: Alexey Date: Tue, 25 May 2021 12:14:28 +0500 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=B1=D1=80=D0=B0=D0=BB=20=D0=BE=D1=82?= =?UTF-8?q?=D1=81=D1=82=D1=83=D0=BF,=20=D0=B7=D0=B0=D0=BC=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=BB=20=D1=80=D0=B5=D0=BF=D0=BB=D1=8D=D0=B9=D1=81=D1=8B?= =?UTF-8?q?=20=D0=BD=D0=B0=20=D0=BF=D1=83=D1=88=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/WellTreeSelector.jsx | 2 +- src/pages/Main.jsx | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/WellTreeSelector.jsx b/src/components/WellTreeSelector.jsx index 9b9515a..f8cf7f0 100644 --- a/src/components/WellTreeSelector.jsx +++ b/src/components/WellTreeSelector.jsx @@ -57,7 +57,7 @@ export default function WellTreeSelector(props) { const onSelect = (value) => { if (value) - history.replace(`/well/${value}/`); + history.push(`/well/${value}/`); console.log(value) } diff --git a/src/pages/Main.jsx b/src/pages/Main.jsx index 080aaae..ddf6f79 100644 --- a/src/pages/Main.jsx +++ b/src/pages/Main.jsx @@ -13,7 +13,9 @@ export default function Main(){ - +