mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-26 19:49:26 +01:00
fix DOM nesting
This commit is contained in:
parent
2be32452d8
commit
898e56c2fd
@ -14,7 +14,9 @@ const DocHeader = ({ title, description }) => {
|
|||||||
return (
|
return (
|
||||||
<header className={styles.header}>
|
<header className={styles.header}>
|
||||||
<h1 className={styles.title}>{title}</h1>
|
<h1 className={styles.title}>{title}</h1>
|
||||||
{description && <p className={styles.lead}>{descriptionHtml}</p>}
|
{description && (
|
||||||
|
<div className={styles.lead}>{descriptionHtml}</div>
|
||||||
|
)}
|
||||||
</header>
|
</header>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user