Fix build process for mapbox gl

This commit is contained in:
lukasmartinelli
2016-09-10 16:05:04 +02:00
parent 0e65ac8937
commit e4049fa5da
8 changed files with 49 additions and 31 deletions

View File

@@ -9,7 +9,6 @@ import { StyleStore } from './stylestore.js'
import { WorkspaceDrawer } from './workspace.jsx'
import theme from './theme.js'
import layout from './layout.scss'
export default class App extends React.Component {
static childContextTypes = {
@@ -78,9 +77,7 @@ export default class App extends React.Component {
workContext={this.state.workContext}
mapStyle={this.state.currentStyle}
/>
<div className={layout.map}>
<Map mapStyle={this.state.currentStyle} />
</div>
<Map mapStyle={this.state.currentStyle} />
</div>
}
}