Skip to content

Commit

Permalink
fix: layer selector import and usage
Browse files Browse the repository at this point in the history
  • Loading branch information
steveoh authored and stdavis committed Jan 15, 2020
1 parent a598da9 commit afeb0d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/esrijs/MapView.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { Component } from 'react';
import ReactDOM from 'react-dom';
import { loadModules, loadCss } from 'esri-loader';
import { LayerSelectorContainer, LayerSelector } from '../../components/LayerSelector/LayerSelector';
import { LayerSelectorContainer, LayerSelector } from '@agrc/layer-selector';
import cityExtents from './data/cityExtents.json';


Expand Down Expand Up @@ -71,7 +71,7 @@ export default class ReactMapView extends Component {
id: 'Land Ownership',
opacity: 0.3
}],
modules: [LOD, TileInfo, WebTileLayer, Basemap]
modules: { LOD, TileInfo, WebTileLayer, Basemap }
}

ReactDOM.render(
Expand Down

0 comments on commit afeb0d3

Please sign in to comment.