[.[I am facing this issue help me to solve this: it always gives me an error Line 2:8. 'person' is defined but never used no-unused-vars.][1]][1]
You can go to the editor settings and search eslint
and disable the checkbox of Controls whether eslint is enableed or not.
But that's not appritiated cause eslint gives you international code standard in some cases by applying eslint rule. If you want to know more please read eslint rules .
In line 2 at the position 8, in the file App.js you declared a variable with the name "person" that you are not using in your code. Its a hint not an error,, by eslint. Go to this position and delete the declaration.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.