docs: fix explorer example (#483)
This commit is contained in:
parent
6a2e0b3ad3
commit
0d3cf29226
@ -152,7 +152,7 @@ Component.Explorer({
|
|||||||
filterFn: (node) => {
|
filterFn: (node) => {
|
||||||
// set containing names of everything you want to filter out
|
// set containing names of everything you want to filter out
|
||||||
const omit = new Set(["authoring content", "tags", "hosting"])
|
const omit = new Set(["authoring content", "tags", "hosting"])
|
||||||
return omit.has(node.name.toLowerCase())
|
return !omit.has(node.name.toLowerCase())
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user