docs: fix explorer example (#483)
This commit is contained in:
parent
f030418822
commit
1a572d77ef
@ -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