We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
undefined
null
1 parent d1f61a0 commit 2ab6131Copy full SHA for 2ab6131
modules/react-maplibre/src/components/marker.ts
@@ -43,7 +43,7 @@ export const Marker = memo(
43
});
44
const options = {
45
...props,
46
- element: hasChildren ? document.createElement('div') : null
+ element: hasChildren ? document.createElement('div') : undefined
47
};
48
49
const mk = new mapLib.Marker(options);
0 commit comments