Skip to content

docs: Fix variable declaration for shouldError#8383

Open
moijes12 wants to merge 1 commit intoreactjs:mainfrom
moijes12:patch-1
Open

docs: Fix variable declaration for shouldError#8383
moijes12 wants to merge 1 commit intoreactjs:mainfrom
moijes12:patch-1

Conversation

@moijes12
Copy link
Copy Markdown
Contributor

This is a very minor change which was suggested when I was trying the code locally.

Declaring the shouldError as const as it is not changed but only compared to ensure good practice.

Declaring the `shouldError` as `const` as it is not changed but only compared to ensure good practice.
@meta-cla meta-cla bot added the CLA Signed label Mar 31, 2026
@github-actions
Copy link
Copy Markdown

Size changes

Details

📦 Next.js Bundle Analysis for react-dev

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

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.

1 participant