From 47de555850be14ece97777bbb81f7057ab6f79fa Mon Sep 17 00:00:00 2001 From: Michael Hudson Nkotagu Date: Thu, 12 Sep 2024 09:15:21 +0300 Subject: [PATCH 1/2] fix: Add empty object in slateEditor causing Partners collection form to fail rendering --- apps/codeforafrica/src/payload/collections/Partners.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/codeforafrica/src/payload/collections/Partners.js b/apps/codeforafrica/src/payload/collections/Partners.js index 522e9c2ab..d7084fdd2 100644 --- a/apps/codeforafrica/src/payload/collections/Partners.js +++ b/apps/codeforafrica/src/payload/collections/Partners.js @@ -50,7 +50,7 @@ const Partners = { name: "description", required: true, localized: true, - editor: slateEditor(), + editor: slateEditor({}), }), socialLinks({ name: "connect", From 29a164c08f352d37b4feb3bb3e246495a1f42c61 Mon Sep 17 00:00:00 2001 From: Michael Hudson Nkotagu Date: Thu, 12 Sep 2024 09:37:25 +0300 Subject: [PATCH 2/2] chore: Bump application version --- apps/codeforafrica/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/codeforafrica/package.json b/apps/codeforafrica/package.json index df00b6c32..977d8c376 100644 --- a/apps/codeforafrica/package.json +++ b/apps/codeforafrica/package.json @@ -1,6 +1,6 @@ { "name": "codeforafrica", - "version": "1.0.55", + "version": "1.0.56", "private": true, "author": "Code for Africa ", "description": "This is the main CFA site.",