From 1db9a2b4d2d9ea1cfd903e4d24589ef7c8321865 Mon Sep 17 00:00:00 2001 From: Will Fisher Date: Mon, 24 Sep 2018 15:39:50 -0400 Subject: [PATCH] Small typo in example (#584) --- examples/geojson-animation/src/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/geojson-animation/src/app.js b/examples/geojson-animation/src/app.js index 47fb9b35..7d5763a3 100644 --- a/examples/geojson-animation/src/app.js +++ b/examples/geojson-animation/src/app.js @@ -55,7 +55,7 @@ export default class App extends Component { _updatePointData = pointData => { let {mapStyle} = this.state; - if (!mapStyle.hasIn(['source', 'point'])) { + if (!mapStyle.hasIn(['sources', 'point'])) { mapStyle = mapStyle // Add geojson source to map .setIn(['sources', 'point'], fromJS({type: 'geojson'}))