-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MDS-5678] ESUP map pin fix #2896
Conversation
@@ -57,6 +59,7 @@ const ExplosivesPermitMap: FC<ExplosivesPermitMapProps> = ({ pin = [] }) => { | |||
iconSize: [60, 60], | |||
}); | |||
pin = L.marker(pin, { icon: customIcon }); | |||
pinRef.current = pin; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The rest is just formatting. This is the fix.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
@@ -1,4 +1,4 @@ | |||
import React, { Component, FC, useEffect, useRef, useState } from "react"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, get rid of those unused imports!
Objective
MDS-5678