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>;
}
const value = characteristics[item.name];
if (value == null) return null;
return (
<span>
{item.name}:{" "}
{renderCharacteristic(characteristics[item.name], item)}
{item.name}: {renderCharacteristic(value, item)}
</span>
);
})}