diff --git a/src/components/LayerMap.js b/src/components/LayerMap.js index a8d9463..14dc537 100644 --- a/src/components/LayerMap.js +++ b/src/components/LayerMap.js @@ -308,19 +308,6 @@ CustomLayerMap.propTypes = propTypes; // Assign default values to the optional props CustomLayerMap.defaultProps = defaultProps; -/** - * This object is used for type checking the props of the component. - */ -const propTypesLayerMap = { - ambassadorsLayer: PropTypes.bool, - merchantsLayer: PropTypes.bool, - showControls: PropTypes.bool, - mapHeight: PropTypes.string, - ambassadors: PropTypes.array, - merchants: PropTypes.array, - tellers: PropTypes.array, -}; - // Type checking the props of the component CustomLayerMap.propTypes = propTypes; // Assign default values to the optional props diff --git a/src/components/pages/MerchantsPage.js b/src/components/pages/MerchantsPage.js index 10b264b..5cf5795 100644 --- a/src/components/pages/MerchantsPage.js +++ b/src/components/pages/MerchantsPage.js @@ -204,25 +204,6 @@ class MerchantsPage extends Component { }); result.data.map(teller => { - const infoDescription =