src/App.js
Line 4:8: ‘welcome’ is defined but never used no-unused-vars
Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.
سلام
چرا من همش این خطا رو دارم؟
چطور ردش کنم.
plz help me
سلام
پکیج زیر رو ابتدا نصب کنید
npm install –save-dev eslint-plugin-react
سپس در فایل .eslintrc.json کد زیر را در extends اضافه کنید
‘extends’: [
‘plugin:react/recommended’
]