mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-22 03:26:22 +00:00
docs: fix explorer example (#483)
This commit is contained in:
parent
6a2e0b3ad3
commit
0d3cf29226
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ Component.Explorer({
|
|||
filterFn: (node) => {
|
||||
// set containing names of everything you want to filter out
|
||||
const omit = new Set(["authoring content", "tags", "hosting"])
|
||||
return omit.has(node.name.toLowerCase())
|
||||
return !omit.has(node.name.toLowerCase())
|
||||
},
|
||||
})
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue