Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…pital-Flag into master
  • Loading branch information
SwarnenduDasKW committed Aug 10, 2020
2 parents e140721 + 3acd34a commit 2f82fd1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions ErrorEncountered
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/* These are the list of error and warnings that I received while development */

React Hook "useState" is called in function "requestapi" which is neither a React function component or a custom React Hook function
Solution: https://stackoverflow.com/questions/55846641/react-hook-usestate-is-called-in-function-app-which-is-neither-a-react-funct
Capitalized the function name


import Requestapi from "./requestapi";
Here the "./requestapi" should match exactly with the name of the file in the disk. Case sensitive.
Even "Requestapi" should match the "export default Requestapi" in the component

0 comments on commit 2f82fd1

Please sign in to comment.