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

'state' is not defined #1

Open
orassr opened this issue May 24, 2018 · 3 comments
Open

'state' is not defined #1

orassr opened this issue May 24, 2018 · 3 comments

Comments

@orassr
Copy link

orassr commented May 24, 2018

Failed to compile
./src/components/blogs/BlogNew.js
Line 8: 'state' is not defined no-undef

Search for the keywords to learn more about each error.
This error occurred during the build time and cannot be dismissed.

BlogNew.js ,
Seems like it did not liked the
state = { showFormReview: false };

@orassr
Copy link
Author

orassr commented May 24, 2018

it runs after I addeded empty cotructor () , not sure if it is the right solution

class BlogNew extends Component { cotructor () { this.state = { showFormReview: false } }

@Gaurav2048
Copy link

corrected the issue. Please refer to the PR.
#10

@happy149
Copy link

happy149 commented Mar 1, 2021

playerData' is not defined no-undef

Search for the keywords to learn more about each error.

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

No branches or pull requests

3 participants