Убрал отступ, заменил реплэйсы на пуши

This commit is contained in:
Alexey 2021-05-25 12:14:28 +05:00
parent aaf926971c
commit da283f1818
2 changed files with 4 additions and 2 deletions

View File

@ -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)
}

View File

@ -13,7 +13,9 @@ export default function Main(){
<Content>
<PageHeader />
<Layout>
<Content className="site-layout-background sheet">
<Content className="site-layout-background sheet"
style={{ marginTop: '0',
paddingTop: '0'}}>
<Switch>
<Route path="/well/:id/">
<Well/>