diff --git a/packages/react-devtools-shared/src/hooks/parseHookNames/parseSourceAndMetadata.js b/packages/react-devtools-shared/src/hooks/parseHookNames/parseSourceAndMetadata.js index e9425b47b4492..6f87b351a014a 100644 --- a/packages/react-devtools-shared/src/hooks/parseHookNames/parseSourceAndMetadata.js +++ b/packages/react-devtools-shared/src/hooks/parseHookNames/parseSourceAndMetadata.js @@ -407,7 +407,6 @@ function parseSourceAST( '[@babel/parser] parse(originalSourceCode)', () => parse(originalSourceCode, { - errorRecovery: true, sourceType: 'unambiguous', plugins: ['jsx', plugin], }),