Skip to content

Commit

Permalink
chore: Remove FeeBreakdownSection from Editor modal (#4250)
Browse files Browse the repository at this point in the history
  • Loading branch information
DafyddLlyr authored Feb 4, 2025
1 parent 1a4e8ce commit 7dfbc7d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 29 deletions.
20 changes: 9 additions & 11 deletions editor.planx.uk/src/@planx/components/Pay/Editor/Editor.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
import { ComponentType as TYPES } from "@opensystemslab/planx-core/types";
import { parsePay, Pay, PAY_FN, validationSchema } from "@planx/components/Pay/model";
import {
parsePay,
Pay,
PAY_FN,
validationSchema,
} from "@planx/components/Pay/model";
import { Form, Formik } from "formik";
import React from "react";
import { ComponentTagSelect } from "ui/editor/ComponentTagSelect";
Expand All @@ -14,7 +19,6 @@ import { Switch } from "ui/shared/Switch";

import { ICONS } from "../../shared/icons";
import { EditorProps } from "../../shared/types";
import { FeeBreakdownSection } from "./FeeBreakdownSection";
import { GovPayMetadataSection } from "./GovPayMetadataSection";
import { InviteToPaySection } from "./InviteToPaySection";

Expand Down Expand Up @@ -66,12 +70,7 @@ const Component: React.FC<Props> = (props: Props) => {
/>
</InputRow>
<InputRow>
<Input
format="data"
name="fn"
value={PAY_FN}
disabled
/>
<Input format="data" name="fn" value={PAY_FN} disabled />
</InputRow>
</ModalSectionContent>
<ModalSectionContent>
Expand Down Expand Up @@ -101,9 +100,8 @@ const Component: React.FC<Props> = (props: Props) => {
</InputRow>
</ModalSectionContent>
</ModalSection>
<GovPayMetadataSection/>
<InviteToPaySection/>
<FeeBreakdownSection/>
<InviteToPaySection />
<GovPayMetadataSection />
<MoreInformation
changeField={handleChange}
definitionImg={values.definitionImg}
Expand Down

This file was deleted.

0 comments on commit 7dfbc7d

Please sign in to comment.