Skip to content

Commit

Permalink
DriveMap: remove unused ref
Browse files Browse the repository at this point in the history
  • Loading branch information
incognitojam committed Jul 11, 2023
1 parent 8441d1c commit 5223b6f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/components/DriveMap/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ class DriveMap extends Component {
this.updateMarkerPos = this.updateMarkerPos.bind(this);
this.onInteraction = this.onInteraction.bind(this);

this.ref = React.createRef();

this.shouldFlyTo = false;
this.isInteracting = false;
this.isInteractingTimeout = null;
Expand Down Expand Up @@ -154,7 +152,6 @@ class DriveMap extends Component {
}

onRef(el) {
this.ref.current = el;
if (el) {
el.addEventListener('touchstart', (ev) => ev.stopPropagation());
}
Expand Down

0 comments on commit 5223b6f

Please sign in to comment.