diff --git a/site/source/components/EngineValue.tsx b/site/source/components/EngineValue.tsx index 26c996a93..b2408f132 100644 --- a/site/source/components/EngineValue.tsx +++ b/site/source/components/EngineValue.tsx @@ -127,12 +127,13 @@ export function WhenApplicable({ children: React.ReactNode }) { const engine = useEngine() - if (engine.evaluate(dottedName).nodeValue == null) { + if (engine.evaluate(dottedName).nodeValue === null) { return null } return <>{children} } + export function WhenNotApplicable({ dottedName, children,