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

Improvement: Fix lint issues

This commit is contained in:
Akshay 2021-05-18 18:08:35 +02:00
parent 4aa1375631
commit d6f94e0b53

View File

@ -53,8 +53,8 @@ export default function MarkdownList({ pageContext }) {
setSelectedNodeId(id)
for (let i = 0; i < pageContext.markdownList.length; i++) {
var node = pageContext.markdownList[i]['node']
if (node.id == id) {
var node = pageContext.markdownList[i].node
if (node.id === id) {
setElem(node)
break
}