diff --git a/compiler/forget/packages/playground/components/Editor/index.tsx b/compiler/forget/packages/playground/components/Editor/index.tsx index 3ab6e36ce0..0a14b29683 100644 --- a/compiler/forget/packages/playground/components/Editor/index.tsx +++ b/compiler/forget/packages/playground/components/Editor/index.tsx @@ -57,6 +57,7 @@ function parseFunctions( FunctionDeclaration: { enter(nodePath) { items.push(nodePath); + nodePath.skip(); }, }, });