From 992bc98ff1889bb8575a2d08f0514b27efa929d7 Mon Sep 17 00:00:00 2001 From: Min RK Date: Thu, 29 Aug 2024 14:28:34 +0200 Subject: [PATCH] MainContainer.children is a node not array or object --- jsx/src/util/layout.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jsx/src/util/layout.jsx b/jsx/src/util/layout.jsx index 544038901..c1144ea46 100644 --- a/jsx/src/util/layout.jsx +++ b/jsx/src/util/layout.jsx @@ -34,5 +34,5 @@ export const MainContainer = (props) => { MainContainer.propTypes = { errorAlert: PropTypes.string, setErrorAlert: PropTypes.func, - children: PropTypes.array, + children: PropTypes.node, };