1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-26 19:49:26 +01:00

Fix: Codeclimate issue and minor improvement

This commit is contained in:
Akshay 2021-06-23 11:06:12 +02:00
parent 2c6d54bef0
commit 5b43862bf6

View File

@ -59,12 +59,12 @@ export default function MarkdownList({ data, location, pageContext }) {
const keys = Object.keys(nestedModules).sort()
const children = []
if (title)
children.push(
<li key={title}>
<b>{title}</b>
</li>
)
children.push(
<li key={title}>
<b>{title}</b>
</li>
)
keys.forEach((element) => {
children.push(