Skip to content

Commit

Permalink
PR feeback
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAndrewJackson committed Dec 5, 2023
1 parent 64879cb commit 48a092b
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import { FieldArray, Form, Formik } from "formik";
import {
CustomCreatableSelect,
CustomTextInput,
Label,
} from "~/features/common/form/inputs";
import { useGetSystemPurposeSummaryQuery } from "~/features/plus/plus.slice";
import { SystemPurposeSummary } from "~/types/api";
Expand Down Expand Up @@ -88,6 +89,9 @@ export const ConsentManagementModal = ({
disabled
/>
</Box>
{Object.entries(values?.purposes || {}).length > 0 ? (
<Label> Purposes </Label>
) : null}
<FieldArray
name="purposes"
render={() => (
Expand Down Expand Up @@ -164,7 +168,9 @@ export const ConsentManagementModal = ({
</ModalBody>

<ModalFooter>
<Button variant="outline" size="sm" onClick={onClose} />
<Button variant="outline" size="sm" onClick={onClose}>
Close{" "}
</Button>
<Spacer />
</ModalFooter>
</ModalContent>
Expand Down

0 comments on commit 48a092b

Please sign in to comment.