forked from ddrilling/asb_cloud_front
Убрал отступ, заменил реплэйсы на пуши
This commit is contained in:
parent
aaf926971c
commit
da283f1818
@ -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)
|
||||
}
|
||||
|
||||
|
@ -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/>
|
||||
|
Loading…
Reference in New Issue
Block a user