Skip to content
This repository was archived by the owner on Aug 29, 2023. It is now read-only.

Commit a654d5b

Browse files
authored
Merge pull request #7 from mitsuruog/hook
Oops
2 parents 9804c21 + a247555 commit a654d5b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

dist/bundle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45200,8 +45200,8 @@ exports.Map = function () {
4520045200
});
4520145201
map.addListener("click", function (e) {
4520245202
getWeather(e.latLng.lat(), e.latLng.lng());
45203-
mapReady();
4520445203
});
45204+
mapReady();
4520545205
}
4520645206
}, []);
4520745207
return React.createElement("div", { id: "map", ref: mapRef });

dist/bundle.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/Map.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ export const Map: React.SFC<MapProps> = () => {
3333
});
3434
map.addListener("click", e => {
3535
getWeather(e.latLng.lat(), e.latLng.lng());
36-
mapReady();
3736
});
37+
mapReady();
3838
}
3939
}, []);
4040
return <div id="map" ref={mapRef} />;

0 commit comments

Comments
 (0)