Skip to content

Commit

Permalink
Merge pull request #3844 from timgates42/bugfix_typos
Browse files Browse the repository at this point in the history
docs: Fix a few typos
  • Loading branch information
rschristian authored Dec 30, 2022
2 parents 8a6d301 + 0c076bf commit d527b4b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion compat/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ const unstable_batchedUpdates = (callback, arg) => callback(arg);
* @template Arg
* @template Result
* @param {(arg: Arg) => Result} callback function that runs before the flush
* @param {Arg} [arg] Optional arugment that can be passed to the callback
* @param {Arg} [arg] Optional argument that can be passed to the callback
* @returns
*/
const flushSync = (callback, arg) => callback(arg);
Expand Down
2 changes: 1 addition & 1 deletion debug/src/debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export function initDebug() {
errorInfo.componentStack = getOwnerStack(vnode);
oldCatchError(error, vnode, oldVNode, errorInfo);

// when an error was handled by an ErrorBoundary we will nontheless emit an error
// when an error was handled by an ErrorBoundary we will nonetheless emit an error
// event on the window object. This is to make up for react compatibility in dev mode
// and thus make the Next.js dev overlay work.
if (typeof error.then != 'function') {
Expand Down
2 changes: 1 addition & 1 deletion test/polyfills.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ chai.use((chai, util) => {

//
// The following code overwrites karma's internal logging feature to
// support a much prettier and humand readable represantation of
// support a much prettier and humand readable representation of
// console logs in our terminal. This includes indentation, coloring
// and support for Map and Set objects.
//
Expand Down

0 comments on commit d527b4b

Please sign in to comment.