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

Code Optimisation #10

Closed
TheShiveshNetwork opened this issue Oct 7, 2023 · 3 comments
Closed

Code Optimisation #10

TheShiveshNetwork opened this issue Oct 7, 2023 · 3 comments

Comments

@TheShiveshNetwork
Copy link

Describe the bug
There are many errors going in the terminal that need to be optimized. Like unused variables, etc.

To Reproduce
Steps to reproduce the behavior:

  1. Run the app using npm start
  2. Check the terminal for warnings

Expected behavior
The unused variables should be optimized for better performance

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser Chrome
  • Version 117.0.5938.134

Additional context

The warnings are shown as

src\App.js
  Line 1:27:  'createTheme' is defined but never used  no-unused-vars
  Line 3:8:   'axios' is defined but never used        no-unused-vars

src\Components\Home.jsx
  Line 13:10:  'city' is assigned a value 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.

WARNING in [eslint]
src\App.js
  Line 1:27:  'createTheme' is defined but never used  no-unused-vars
  Line 3:8:   'axios' is defined but never used        no-unused-vars

src\Components\Home.jsx
  Line 13:10:  'city' is assigned a value but never used  no-unused-vars
@ManishaSwain8
Copy link
Owner

Are you getting error or warnings ? @TheShiveshNetwork

@TheShiveshNetwork TheShiveshNetwork mentioned this issue Oct 7, 2023
8 tasks
@priyankeshh
Copy link

Can this issue be assigned to me? I can eliminate unused variables, improve code organization, and maintain the readability.

@ManishaSwain8
Copy link
Owner

@TheShiveshNetwork
@priankeshh

This issue is very minor , Looking forward to some quality issues and PR.
You can create new issue and add this issue along with it so that it will have some weight !

Hope you understand ,Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants