From 501e47d9d046549f500a8c4b56d6327ac4b9a458 Mon Sep 17 00:00:00 2001 From: Alexandre Neuwald CTW Date: Wed, 10 Apr 2024 10:56:57 +0100 Subject: [PATCH] add comment for map plugin --- packages/studio-base/src/panels/Map/initPanel.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/studio-base/src/panels/Map/initPanel.tsx b/packages/studio-base/src/panels/Map/initPanel.tsx index 643db56935..b0114c043f 100644 --- a/packages/studio-base/src/panels/Map/initPanel.tsx +++ b/packages/studio-base/src/panels/Map/initPanel.tsx @@ -34,6 +34,7 @@ export function initPanel( crash: ReturnType, context: PanelExtensionContext, ): () => void { + // The lib leaflet changes the DOM somehow that 'createRoot' crashes. // eslint-disable-next-line react/no-deprecated ReactDOM.render(