fix: null rendering

Co-authored-by: Copilot <[email protected]>
This commit is contained in:
TrèsAbhiandCopilot committed 2026-04-29 15:22:12 -05:00
1 parent 9abfeb749c
commit 3a60535564
1 file changed
+5 -2
@@ -159,10 +159,13 @@ function Content() {
return <span>toy: {item.toy}</span>; return <span>toy: {item.toy}</span>;
} }
const value = characteristics[item.name];
if (value == null) return null;
return ( return (
<span> <span>
{item.name}:{" "} {item.name}: {renderCharacteristic(value, item)}
{renderCharacteristic(characteristics[item.name], item)}
</span> </span>
); );
})} })}