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:
parent
4aa1375631
commit
d6f94e0b53
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user