From a2bcd3bbebed5bf2ec499b2d9bbac702ef1fef1e Mon Sep 17 00:00:00 2001 From: cha0s Date: Sun, 31 Jan 2021 11:46:05 -0600 Subject: [PATCH] fix: undefined even if any --- packages/entity/src/behavior-components/expression.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/entity/src/behavior-components/expression.jsx b/packages/entity/src/behavior-components/expression.jsx index 7d3b3fb..5972055 100644 --- a/packages/entity/src/behavior-components/expression.jsx +++ b/packages/entity/src/behavior-components/expression.jsx @@ -304,7 +304,7 @@ const Expression = ({ className={classnames( 'expression', {'wrong-type': 'any' !== type && 'undefined' !== type && realType !== type}, - {'undefined-type': 'any' !== type && 'undefined' === realType}, + {'undefined-type': 'undefined' === realType}, )} > {Renderables}