Import JSX explicitly for React 19 compatibility (#29535)

* Import JSX explicitly for React 19 compatibility

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Fixup

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Fixup

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski
2025-03-27 10:43:58 +00:00
committed by GitHub
parent 8116dc5f60
commit 05df321f34
218 changed files with 234 additions and 211 deletions

View File

@@ -8,7 +8,7 @@ Please see LICENSE files in the repository root for full details.
// Exports location components which touch maplibre-gs wrapped in React Suspense to enable code splitting
import React, { type ComponentProps, lazy, Suspense } from "react";
import React, { type JSX, type ComponentProps, lazy, Suspense } from "react";
import Spinner from "../elements/Spinner";