add profiler to contract layout

This commit is contained in:
Iuri Matias 2018-08-03 11:51:07 -04:00 committed by Pascal Precht
parent 9c4ecbdfd6
commit 95158960c1
No known key found for this signature in database
GPG Key ID: 0EE28D8D6FD85D7D
1 changed files with 2 additions and 1 deletions

View File

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