Skip to content

Commit

Permalink
Revert changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Wissiak committed Dec 3, 2023
1 parent 2bac1b4 commit 9c07671
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions predictor-app/src/components/GlassCollectionMap.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,14 +94,7 @@ const GlassCollectionMap = ({ key }) => {
/>
) : null;

function clicki() {
directions = new window.google.maps.DirectionsRenderer()
setResponse(null)
console.log("hio", directions)
}
return (
<div>
<button onClick={clicki}>hio</button>
<GoogleMap
mapContainerStyle={mapContainerStyle}
mapTypeId='hybrid'
Expand All @@ -126,7 +119,7 @@ const GlassCollectionMap = ({ key }) => {

{predictedRoute ? directions : null}

</GoogleMap></div>
</GoogleMap>
);

}
Expand Down

0 comments on commit 9c07671

Please sign in to comment.