From c64a25db95b4de3aaeb53b246a60edf2d918ee12 Mon Sep 17 00:00:00 2001 From: capyq Date: Fri, 12 Jul 2024 14:55:16 +0200 Subject: [PATCH] Powsybl/diagram-viewer doesn't provide type so return component to jsx Signed-off-by: capyq --- .../parameters/{map-parameters.tsx => map-parameters.jsx} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename src/components/dialogs/parameters/{map-parameters.tsx => map-parameters.jsx} (97%) diff --git a/src/components/dialogs/parameters/map-parameters.tsx b/src/components/dialogs/parameters/map-parameters.jsx similarity index 97% rename from src/components/dialogs/parameters/map-parameters.tsx rename to src/components/dialogs/parameters/map-parameters.jsx index 77ea4da575..c88e4e62ef 100644 --- a/src/components/dialogs/parameters/map-parameters.tsx +++ b/src/components/dialogs/parameters/map-parameters.jsx @@ -4,7 +4,7 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - +//TODO: File in JSX because @powsybl/diagram-viewer doesn't provide type. change to TSX when types are awailable. import { Grid } from '@mui/material'; import { LineFlowColorMode, LineFlowMode } from '@powsybl/diagram-viewer'; import { useState } from 'react';