Skip to content

refactor: removed else if statements from App.js and used if statemen…#2

Open
matheusdefarias wants to merge 2 commits intostagingfrom
adjustment-if-conditions
Open

refactor: removed else if statements from App.js and used if statemen…#2
matheusdefarias wants to merge 2 commits intostagingfrom
adjustment-if-conditions

Conversation

@matheusdefarias
Copy link
Owner

Briefly describe the changes.

In the App.js file, inside the function handleHttpRequest the if/else if statements were changed to if statements with return in the end.

Checklist ✅

  • Change from if/else if statements to if statements with return

How to test 👋

  1. Run npm run server
  2. Run npm start
  3. Add, edit and remove cards

Requirements ✏️

LINK DO CARD

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.

1 participant