change texts
This commit is contained in:
@@ -91,7 +91,7 @@ function MarkerWithAutoOpen({ position, icon, title }: { position: [number, numb
|
||||
const markerRef = React.useRef<L.Marker>(null);
|
||||
|
||||
useEffect(() => {
|
||||
if (markerRef.current && title === 'موقعیت رستوران') {
|
||||
if (markerRef.current && title === 'موقعیت فروشگاه') {
|
||||
markerRef.current.openPopup();
|
||||
}
|
||||
}, [title]);
|
||||
|
||||
Reference in New Issue
Block a user