diff --git a/src/components/Map/constants.js b/src/components/Map/constants.js index cffaab1..4f33227 100644 --- a/src/components/Map/constants.js +++ b/src/components/Map/constants.js @@ -1,3 +1,3 @@ export const LAYER_NAME = 'networks-dots' -export const accessToken = 'pk.eyJ1IjoidG93bmhhbGxwcm9qZWN0IiwiYSI6ImNrN3d1c3hhdDA1MmozbW80cW5oOWxzcHoifQ.rq66iVpULeHVB6PutWiunA'; +export const accessToken = process.env.REACT_APP_MAPBOX_API_KEY; export const mapboxStyle = process.env.REACT_APP_MAPBOX_STYLE_URL; \ No newline at end of file