Sidney
2025-11-11 e7d2a57aad1d676fdee4cd8654c91d8272c365c7
Fix optional chaining in tag explorer exclude example (#2200)

Prevents null pointer
1 files modified
2 ■■■ changed files
docs/features/explorer.md 2 ●●● patch | view | raw | blame | history
docs/features/explorer.md
@@ -162,7 +162,7 @@
Component.Explorer({
  filterFn: (node) => {
    // exclude files with the tag "explorerexclude"
    return node.data.tags?.includes("explorerexclude") !== true
    return node.data?.tags?.includes("explorerexclude") !== true
  },
})
```