diff --git a/apps/codeforafrica/src/payload/fields/socialLinks.js b/apps/codeforafrica/src/payload/fields/socialLinks.js index 2a0bf0e10..566c9cc70 100644 --- a/apps/codeforafrica/src/payload/fields/socialLinks.js +++ b/apps/codeforafrica/src/payload/fields/socialLinks.js @@ -12,7 +12,7 @@ export const socialMediaOptions = [ "Slack", ]; -function socialLinks(overrides) { +function socialLinks(overrides = {}) { const defaults = { name: "links", type: "array",