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:
parent
2c6d54bef0
commit
5b43862bf6
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user