Skip to content
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

docs: replace let with const for useState #66988

Merged
merged 1 commit into from
Jun 18, 2024
Merged

Conversation

steadily-worked
Copy link
Contributor

@steadily-worked steadily-worked commented Jun 18, 2024

What?

I replaced let with const for useState.

Why?

Since in these examples, it doesn't need to be a let, as it doesn't do any reassignment.

@steadily-worked steadily-worked requested review from a team as code owners June 18, 2024 11:37
@steadily-worked steadily-worked requested review from ismaelrumzan and delbaoliveira and removed request for a team June 18, 2024 11:37
@ijjk ijjk added the Documentation Related to Next.js' official documentation. label Jun 18, 2024
@steadily-worked steadily-worked changed the title chore: replace let with const for useState docs: replace let with const for useState Jun 18, 2024
@steadily-worked steadily-worked changed the title docs: replace let with const for useState docs: replace let with const for useState Jun 18, 2024
Copy link
Member

@samcx samcx left a comment

Choose a reason for hiding this comment

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

Thank you for submitting a PR!

:lgtm:

@samcx samcx added the CI approved Approve running CI for fork label Jun 18, 2024
@samcx samcx merged commit 6a18991 into vercel:canary Jun 18, 2024
35 checks passed
@samcx samcx removed the CI approved Approve running CI for fork label Jun 18, 2024
@github-actions github-actions bot added the locked label Jul 3, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Documentation Related to Next.js' official documentation. locked
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants