Skip to content

Commit

Permalink
refactor optionsEditor into shared component
Browse files Browse the repository at this point in the history
  • Loading branch information
jamdelion committed Dec 5, 2024
1 parent bf201d3 commit 2aabdc6
Show file tree
Hide file tree
Showing 5 changed files with 131 additions and 353 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import Delete from "@mui/icons-material/Delete";
import Box from "@mui/material/Box";
import Button from "@mui/material/Button";
import IconButton from "@mui/material/IconButton";
import { OptionEditor } from "@planx/components/shared/OptionsEditor";
import adjust from "ramda/src/adjust";
import compose from "ramda/src/compose";
import remove from "ramda/src/remove";
Expand All @@ -14,7 +15,6 @@ import InputRow from "ui/shared/InputRow";

import { Option } from "../../shared";
import type { Group } from "../model";
import { OptionEditor } from "./OptionsEditor";

export const Options: React.FC<{ formik: FormikHookReturn }> = ({ formik }) => {
return (
Expand Down

This file was deleted.

This file was deleted.

Loading

0 comments on commit 2aabdc6

Please sign in to comment.