From 3ad487dce772996b871a83eb412a37782dbe55c7 Mon Sep 17 00:00:00 2001 From: orangemug Date: Mon, 29 Jun 2020 16:18:04 +0100 Subject: [PATCH] Removed isRequired from label incase null. --- src/components/Block.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Block.jsx b/src/components/Block.jsx index 383c1fc..d3a2bff 100644 --- a/src/components/Block.jsx +++ b/src/components/Block.jsx @@ -12,7 +12,7 @@ export default class Block extends React.Component { label: PropTypes.oneOfType([ PropTypes.string, PropTypes.element, - ]).isRequired, + ]), action: PropTypes.element, children: PropTypes.node.isRequired, style: PropTypes.object,