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(){ - +