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

Fix Missing React import #6071

Merged
merged 1 commit into from
Apr 1, 2021
Merged

Fix Missing React import #6071

merged 1 commit into from
Apr 1, 2021

Conversation

WiXSL
Copy link
Contributor

@WiXSL WiXSL commented Mar 20, 2021

No description provided.

@WiXSL WiXSL changed the title Fix React import missing Fix Missing React import Mar 20, 2021
Copy link
Member

@fzaninotto fzaninotto left a comment

Choose a reason for hiding this comment

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

This file contains no JSX. Why should we import React?

@WiXSL
Copy link
Contributor Author

WiXSL commented Mar 21, 2021

It's used in line 9:

): [T, React.Dispatch<React.SetStateAction<T>>] {

@fzaninotto fzaninotto changed the base branch from next to master April 1, 2021 20:46
@fzaninotto fzaninotto merged commit b455adf into marmelab:master Apr 1, 2021
@fzaninotto
Copy link
Member

Thanks!

@fzaninotto fzaninotto added this to the 3.14.2 milestone Apr 1, 2021
@WiXSL WiXSL deleted the fix-import branch April 1, 2021 23:16
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.

2 participants