Skip to content

Commit

Permalink
refactor(ui-areas): remove redundant ui form fields for areas
Browse files Browse the repository at this point in the history
  • Loading branch information
hdinia committed Feb 27, 2024
1 parent 5ad6850 commit 50c2c1e
Showing 1 changed file with 0 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { useOutletContext } from "react-router";
import { useMemo } from "react";
import SelectFE from "../../../../../../common/fieldEditors/SelectFE";
import Fieldset from "../../../../../../common/Fieldset";
import ColorPickerFE from "../../../../../../common/fieldEditors/ColorPickerFE";
import SwitchFE from "../../../../../../common/fieldEditors/SwitchFE";
import NumberFE from "../../../../../../common/fieldEditors/NumberFE";
import { useFormContextPlus } from "../../../../../../common/Form";
Expand All @@ -27,23 +26,6 @@ function Fields() {

return (
<>
<Fieldset legend={t("global.general")}>
<ColorPickerFE
name="color"
label={t("global.color")}
control={control}
/>
<NumberFE
name="posX"
label={t("study.modelization.properties.posX")}
control={control}
/>
<NumberFE
name="posY"
label={t("study.modelization.properties.posY")}
control={control}
/>
</Fieldset>
<Fieldset legend={t("study.modelization.properties.energyCost")}>
<NumberFE
name="energyCostUnsupplied"
Expand Down

0 comments on commit 50c2c1e

Please sign in to comment.