Skip to content

Commit ceb3d00

Browse files
authored
changed clickableIcons override to use !! instead
1 parent 32297a8 commit ceb3d00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ export class Map extends React.Component {
143143
zoom: this.props.zoom,
144144
maxZoom: this.props.maxZoom,
145145
minZoom: this.props.maxZoom,
146-
clickableIcons: this.props.clickableIcons || false,
146+
clickableIcons: !!this.props.clickableIcons,
147147
disableDefaultUI: this.props.disableDefaultUI,
148148
zoomControl: this.props.zoomControl,
149149
mapTypeControl: this.props.mapTypeControl,

0 commit comments

Comments
 (0)