Skip to content

Fix typo in error message. #33313

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Fix typo in error message. #33313

wants to merge 1 commit into from

Conversation

cpojer
Copy link
Contributor

@cpojer cpojer commented May 20, 2025

Summary

I am writing code that isn't so good, so I saw this error message many times. It appears to have a typo. This PR fixes the typo.

How did you test this change?

Ran the tests

@react-sizebot
Copy link

Comparing: c6c2a52...7061ad7

Critical size changes

Includes critical production bundles, as well as any change greater than 2%:

Name +/- Base Current +/- gzip Base gzip Current gzip
oss-stable/react-dom/cjs/react-dom.production.js = 6.68 kB 6.68 kB +0.11% 1.83 kB 1.83 kB
oss-stable/react-dom/cjs/react-dom-client.production.js = 529.74 kB 529.74 kB = 93.49 kB 93.49 kB
oss-experimental/react-dom/cjs/react-dom.production.js = 6.69 kB 6.69 kB +0.11% 1.83 kB 1.83 kB
oss-experimental/react-dom/cjs/react-dom-client.production.js = 651.48 kB 651.48 kB = 114.75 kB 114.76 kB
facebook-www/ReactDOM-prod.classic.js = 675.72 kB 675.72 kB = 118.84 kB 118.85 kB
facebook-www/ReactDOM-prod.modern.js = 666.00 kB 666.00 kB = 117.23 kB 117.23 kB

Significant size changes

Includes any change greater than 0.2%:

(No significant changes)

Generated by 🚫 dangerJS against 7061ad7

@cpojer
Copy link
Contributor Author

cpojer commented May 20, 2025

cc @sebmarkbage @rickhanlonii

Copy link
Collaborator

@eps1lon eps1lon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@captbaritone Do you prefer this wording or yours in #33044?

@cpojer
Copy link
Contributor Author

cpojer commented May 20, 2025

imho both words there are confusing. If it's async, it already implies that it is happening "later" or "over time". Think of folks who don't speak English too well, too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants