Merged in fix/SW-1831-accordion-error-key-prop-is-missing (pull request #1496)
fix(SW-1831): add fragment * fix(SW-1831): add fragment * fix(SW-1831): move fragment to nodesToHtml * fix(SW-1831): remove import * fix(SW-1831): add getUniqueId Approved-by: Erik Tiekstra Approved-by: Matilda Landström
This commit is contained in:
@@ -15,6 +15,7 @@ export default function JsonToHtml({
|
||||
if (!Array.isArray(nodes) || !nodes.length) {
|
||||
return null
|
||||
}
|
||||
|
||||
return (
|
||||
<section className={cx(styles.container, className)}>
|
||||
{nodesToHtml(nodes, embeds, renderOptions).filter(Boolean)}
|
||||
|
||||
Reference in New Issue
Block a user