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) => {
|
const onSelect = (value) => {
|
||||||
if (value)
|
if (value)
|
||||||
history.replace(`/well/${value}/`);
|
history.push(`/well/${value}/`);
|
||||||
console.log(value)
|
console.log(value)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -13,7 +13,9 @@ export default function Main(){
|
|||||||
<Content>
|
<Content>
|
||||||
<PageHeader />
|
<PageHeader />
|
||||||
<Layout>
|
<Layout>
|
||||||
<Content className="site-layout-background sheet">
|
<Content className="site-layout-background sheet"
|
||||||
|
style={{ marginTop: '0',
|
||||||
|
paddingTop: '0'}}>
|
||||||
<Switch>
|
<Switch>
|
||||||
<Route path="/well/:id/">
|
<Route path="/well/:id/">
|
||||||
<Well/>
|
<Well/>
|
||||||
|
Loading…
Reference in New Issue
Block a user