Skip to content

Commit

Permalink
Powsybl/diagram-viewer doesn't provide type so return component to jsx
Browse files Browse the repository at this point in the history
Signed-off-by: capyq <[email protected]>
  • Loading branch information
capyq committed Jul 12, 2024
1 parent f526799 commit 8b22eda
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -99,7 +99,6 @@ export const MapParameters = () => {
label="AlertThresholdLabel"
disabled={isLineFlowNominal}
marks={alertThresholdMarks}

/>
<LineSeparator />
<ParameterLineSwitch
Expand Down
1 change: 0 additions & 1 deletion src/components/dialogs/parameters/widget/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@ export { default as parameterLineDropdown } from './parameter-line-dropdown';
export { default as parameterLineSlider } from './parameter-line-slider';
export { default as parameterLineSwitch } from './parameter-line-switch';
export * from './parameter-switch';

0 comments on commit 8b22eda

Please sign in to comment.