diff --git a/apps/codeforafrica/src/payload/blocks/JoinOurSlack.js b/apps/codeforafrica/src/payload/blocks/JoinOurSlack.js index 2037bfe8a..7bddbad80 100644 --- a/apps/codeforafrica/src/payload/blocks/JoinOurSlack.js +++ b/apps/codeforafrica/src/payload/blocks/JoinOurSlack.js @@ -1,4 +1,4 @@ -import link from "../fields/links/link"; +import linkGroup from "../fields/links/linkGroup"; const JoinOurSlack = { slug: "join-our-slack", @@ -17,12 +17,7 @@ const JoinOurSlack = { required: true, type: "text", }, - { - name: "action", - label: "Action", - type: "group", - fields: [link()], - }, + linkGroup({ overrides: { name: "action", label: "Action" } }), ], };