diff --git a/docs/features/explorer.md b/docs/features/explorer.md index 9f06d0cef..797d4f1ac 100644 --- a/docs/features/explorer.md +++ b/docs/features/explorer.md @@ -162,7 +162,7 @@ You can access the tags of a file by `node.data.tags`. Component.Explorer({ filterFn: (node) => { // exclude files with the tag "explorerexclude" - return node.data.tags?.includes("explorerexclude") !== true + return node.data?.tags?.includes("explorerexclude") !== true }, }) ```