Skip to content

fix: remove unused useContext import in sandbox examples#8509

Open
DakshSinghDhami wants to merge 1 commit into
reactjs:mainfrom
DakshSinghDhami:fix-unused-useContext
Open

fix: remove unused useContext import in sandbox examples#8509
DakshSinghDhami wants to merge 1 commit into
reactjs:mainfrom
DakshSinghDhami:fix-unused-useContext

Conversation

@DakshSinghDhami

Copy link
Copy Markdown

Fixes #8186

AddTask.js and TaskList.js in the "Scaling up with context and a reducer" example both imported useContext from React but never used it. Removed the unused import from both files.

Fixes reactjs#8186

AddTask.js and TaskList.js in the 'Scaling up with context and a reducer'
example imported useContext but never used it. Removed the unused import
from both files.
@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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Typo]: The code example on the "useContext" page includes an unused import useContext

1 participant