Skip to content

Commit

Permalink
fixed google map issue
Browse files Browse the repository at this point in the history
  • Loading branch information
nengyuanzhang committed Feb 2, 2025
2 parents b275089 + 537568c commit bfeafd8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- added portuguese language
### Changed
### Fixed
- fixed google map issue
### Removed
- removed console.log from myems-web and myems-admin

Expand Down
2 changes: 1 addition & 1 deletion myems-web/src/components/map/GoogleMap.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ GoogleMap.propTypes = {
GoogleMap.defaultProps = { zoom: 17, mapStyle: 'Default' };

// TODO: Do you provide the apiKey in production, instruct user to use his own apiKey
export default GoogleApiWrapper({ apiKey: 'AIzaSyARdVcREeBK44lIWnv5-iPijKqvlSAVwbw' })(GoogleMap);
export default GoogleApiWrapper({ apiKey: 'YOUR_API_KEY' })(GoogleMap);

0 comments on commit bfeafd8

Please sign in to comment.