From 49400ca5260ed57c7def996ebe43c555dab7ae8c Mon Sep 17 00:00:00 2001 From: Vesa Luusua Date: Fri, 17 Feb 2023 18:43:08 +0200 Subject: [PATCH] P.js: remove requirement for children --- src/containers/PageBuilder/Primitives/P/P.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/containers/PageBuilder/Primitives/P/P.js b/src/containers/PageBuilder/Primitives/P/P.js index bb22870de1..5df9db7c59 100644 --- a/src/containers/PageBuilder/Primitives/P/P.js +++ b/src/containers/PageBuilder/Primitives/P/P.js @@ -16,10 +16,11 @@ P.displayName = 'P'; P.defaultProps = { rootClassName: null, className: null, + children: null, }; P.propTypes = { rootClassName: string, className: string, - children: node.isRequired, + children: node, };