mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-27 16:58:46 +00:00
Simplify mcdoc fields when rendering
This commit is contained in:
@@ -49,7 +49,7 @@ export function Tree({ docAndNode, onError }: TreePanelProps) {
|
||||
if (!service) {
|
||||
return undefined
|
||||
}
|
||||
return { doc: docAndNode.doc, symbols: service.getSymbols() }
|
||||
return service.getCheckerContext(docAndNode.doc)
|
||||
}, [docAndNode, service])
|
||||
|
||||
return <div class="tree node-root" data-cy="tree">
|
||||
|
||||
Reference in New Issue
Block a user