diff --git a/src/components/App.jsx b/src/components/App.jsx index 857931f..7817503 100644 --- a/src/components/App.jsx +++ b/src/components/App.jsx @@ -167,7 +167,7 @@ export default class App extends React.Component { }) } - onSortEnd(move) { + onMoveLayer(move) { let { oldIndex, newIndex } = move; let layers = this.state.mapStyle.layers; oldIndex = clamp(oldIndex, 0, layers.length-1); @@ -352,7 +352,7 @@ export default class App extends React.Component { /> const layerList =