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 keys = Object.keys(nestedModules).sort()
|
||||||
const children = []
|
const children = []
|
||||||
if (title)
|
|
||||||
children.push(
|
children.push(
|
||||||
<li key={title}>
|
<li key={title}>
|
||||||
<b>{title}</b>
|
<b>{title}</b>
|
||||||
</li>
|
</li>
|
||||||
)
|
)
|
||||||
|
|
||||||
keys.forEach((element) => {
|
keys.forEach((element) => {
|
||||||
children.push(
|
children.push(
|
||||||
|
Loading…
Reference in New Issue
Block a user