diff --git a/src/editor/components/Main.js b/src/editor/components/Main.js index 49b3dc00..758ff0a4 100644 --- a/src/editor/components/Main.js +++ b/src/editor/components/Main.js @@ -26,6 +26,9 @@ THREE.ImageUtils.crossOrigin = ''; const isStreetLoaded = window.location.hash.length; const isPaymentModalOpened = window.location.hash.includes('/modal/payment'); +// Define the libraries array as a constant outside of the component +const GOOGLE_MAPS_LIBRARIES = ['places']; + export default class Main extends Component { constructor(props) { super(props); @@ -297,7 +300,7 @@ export default class Main extends Component { />