Skip to content

Commit

Permalink
Use linkGroup
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvinkipruto committed Sep 20, 2023
1 parent ff8f5e8 commit 3d6c17a
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions apps/codeforafrica/src/payload/blocks/MeetOurTeam.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import image from "../fields/image";
import link from "../fields/links/link";
import linkGroup from "../fields/links/linkGroup";
import richText from "../fields/richText";

const MeetOurTeam = {
Expand All @@ -18,12 +18,7 @@ const MeetOurTeam = {
label: "Description",
required: true,
}),
{
name: "action",
label: "Action Button",
type: "group",
fields: [link()],
},
linkGroup({ overrides: { name: "action", label: "Action" } }),
image({
overrides: {
required: true,
Expand Down

0 comments on commit 3d6c17a

Please sign in to comment.