// eslint-disable-next-line import/extensions
// import arcgisConfig from '@wisdom-map/arcgismap/lib/arcgisapi/4.20/@arcgis/core/config';
import React from 'react';
// eslint-disable-next-line import/extensions
import { ArcGISMap as MapComponent } from '@wisdom-map/arcgismap';
// import MapComponent from './lib/index.js';

// eslint-disable-next-line react/prefer-stateless-function
export default class ArcGISMap extends React.Component {
  render() {
    // arcgisConfig.assetsPath = `${window.location.origin
    //   }/${pkg.name.toLocaleLowerCase()}/assets`;
    return <MapComponent {...this.props} />;
  }
}
