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 06cf67b commit 5aa03d0
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions apps/codeforafrica/src/payload/blocks/JoinOurSlack.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import link from "../fields/links/link";
import linkGroup from "../fields/links/linkGroup";

const JoinOurSlack = {
slug: "join-our-slack",
Expand All @@ -17,12 +17,7 @@ const JoinOurSlack = {
required: true,
type: "text",
},
{
name: "action",
label: "Action",
type: "group",
fields: [link()],
},
linkGroup({ overrides: { name: "action", label: "Action" } }),
],
};

Expand Down

0 comments on commit 5aa03d0

Please sign in to comment.