Fix typo in parseHookNames.js (#22042)
representated -> represented
Konstantin Popov committed
Aug 8, 2021 at 22:58 UTC
64931821a9df262f2b6475404d025bcff97c3e0a
1 file changed
+2
-2
packages/react-devtools-extensions/src/parseHookNames/parseHookNames.js
+2
-2
@@ -391,7 +391,7 @@ function findHookNames(
391
const position = sourceConsumer.originalPositionFor({
392
line: lineNumber,
393
394
- // Column numbers are representated differently between tools/engines.
394
+ // Column numbers are represented differently between tools/engines.
395
// Error.prototype.stack columns are 1-based (like most IDEs) but ASTs are 0-based.
396
// For more info see https://github.com/facebook/react/issues/21792#issuecomment-873171991
397
column: columnNumber - 1,
@@ -490,7 +490,7 @@ async function parseSourceAST(
490
const {source} = sourceConsumer.originalPositionFor({
491
line: lineNumber,
492
493
- // Column numbers are representated differently between tools/engines.
493
+ // Column numbers are represented differently between tools/engines.
494
// Error.prototype.stack columns are 1-based (like most IDEs) but ASTs are 0-based.
495
// For more info see https://github.com/facebook/react/issues/21792#issuecomment-873171991
496
column: columnNumber - 1,