From a7eb38c4cb7041a2b55fcf5f2beb28f006f54b51 Mon Sep 17 00:00:00 2001 From: Jay Pokale <99467494+JayPokale@users.noreply.github.com> Date: Sat, 5 Dec 2026 19:08:41 +0530 Subject: [PATCH] Fix typos in comments --- packages/react-dev-utils/getPublicUrlOrPath.js | 2 +- packages/react-error-overlay/src/utils/parseCompileError.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-dev-utils/getPublicUrlOrPath.js b/packages/react-dev-utils/getPublicUrlOrPath.js index dbb7cda5aa2..a8d6e46b930 100644 --- a/packages/react-dev-utils/getPublicUrlOrPath.js +++ b/packages/react-dev-utils/getPublicUrlOrPath.js @@ -13,7 +13,7 @@ module.exports = getPublicUrlOrPath; /** * Returns a URL or a path with slash at the end - * In production can be URL, abolute path, relative path + * In production can be URL, absolute path, relative path * In development always will be an absolute path * In development can use `path` module functions for operations * diff --git a/packages/react-error-overlay/src/utils/parseCompileError.js b/packages/react-error-overlay/src/utils/parseCompileError.js index e87c45622c1..6fcc6d8a944 100644 --- a/packages/react-error-overlay/src/utils/parseCompileError.js +++ b/packages/react-error-overlay/src/utils/parseCompileError.js @@ -11,7 +11,7 @@ const filePathRegex = /^\.(\/[^/\n ]+)+\.[^/\n ]+$/; const lineNumberRegexes = [ // Babel syntax errors - // Based on syntax error formating of babylon parser + // Based on syntax error formatting of babylon parser // https://github.com/babel/babylon/blob/v7.0.0-beta.22/src/parser/location.js#L19 /^.*\((\d+):(\d+)\)$/,