add profiler to contract layout
This commit is contained in:
parent
9c4ecbdfd6
commit
95158960c1
|
@ -7,6 +7,7 @@ import {
|
||||||
} from "tabler-react";
|
} from "tabler-react";
|
||||||
|
|
||||||
import ContractContainer from '../containers/ContractContainer';
|
import ContractContainer from '../containers/ContractContainer';
|
||||||
|
import ContractProfileContainer from '../containers/ContractProfileContainer';
|
||||||
|
|
||||||
const ContractLayout = (props) => (
|
const ContractLayout = (props) => (
|
||||||
<Grid.Row>
|
<Grid.Row>
|
||||||
|
@ -51,12 +52,12 @@ const ContractLayout = (props) => (
|
||||||
</Grid.Col>
|
</Grid.Col>
|
||||||
<Grid.Col md={9}>
|
<Grid.Col md={9}>
|
||||||
<Switch>
|
<Switch>
|
||||||
|
<Route exact path="/embark/contracts/:contractName/profiler" component={ContractProfileContainer} />
|
||||||
<ContractContainer />
|
<ContractContainer />
|
||||||
</Switch>
|
</Switch>
|
||||||
</Grid.Col>
|
</Grid.Col>
|
||||||
</Grid.Row>
|
</Grid.Row>
|
||||||
);
|
);
|
||||||
// <Route exact path="/embark/explorer/accounts" component={AccountsContainer} />
|
|
||||||
// <Route exact path="/embark/explorer/blocks" component={BlocksContainer} />
|
// <Route exact path="/embark/explorer/blocks" component={BlocksContainer} />
|
||||||
// <Route exact path="/embark/explorer/transactions" component={TransactionsContainer} />
|
// <Route exact path="/embark/explorer/transactions" component={TransactionsContainer} />
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue