Skip to content

Commit

Permalink
fix(example.js): add 'Plan Trip' button via DefaultMainPanel
Browse files Browse the repository at this point in the history
fix #144
  • Loading branch information
landonreed committed Mar 26, 2020
1 parent 40ae6e7 commit 05d593c
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions example.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,10 @@ import { Navbar, Grid, Row, Col } from 'react-bootstrap'

// import OTP-RR components
import {
DefaultSearchForm,
ErrorMessage,
DefaultMainPanel,
MobileMain,
NarrativeRoutingResults,
ResponsiveWebapp,
Map,
ViewerContainer,
AppMenu,
createOtpReducer
} from './lib'
Expand Down Expand Up @@ -81,15 +78,8 @@ class OtpRRExample extends Component {
<Grid>
<Row className='main-row'>
<Col sm={6} md={4} className='sidebar'>
<ViewerContainer>
<DefaultSearchForm />
<ErrorMessage />
<div className='desktop-narrative-container'>
<NarrativeRoutingResults />
</div>
</ViewerContainer>
<DefaultMainPanel />
</Col>

<Col sm={6} md={8} className='map-container'>
<Map />
</Col>
Expand Down

0 comments on commit 05d593c

Please sign in to comment.