Skip to content

Commit d8a6c70

Browse files
committed
Added withScriptjs again.
1 parent dc31b61 commit d8a6c70

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Fable.ReactGoogleMaps/mapComponent.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { withScriptjs, withGoogleMap, GoogleMap, TrafficLayer } from "react-goog
22
const { SearchBox } = require("react-google-maps/lib/components/places/SearchBox");
33
import React from 'react';
44

5-
const TrafficMapComponent = /*withScriptjs(*/withGoogleMap((props) => {
5+
const TrafficMapComponent = withScriptjs(withGoogleMap((props) => {
66
var childs = [ props.markers ];
77
if(props.showSearchBox) {
88
var inputBox =
@@ -52,7 +52,7 @@ const TrafficMapComponent = /*withScriptjs(*/withGoogleMap((props) => {
5252
options: props.options,
5353
ref : props.onMapMounted },
5454
childs))
55-
})/*)*/;
55+
}));
5656

5757
export class GoogleMapComponent extends React.PureComponent {
5858
refs = {}

0 commit comments

Comments
 (0)