Line 7:39: React Hook "useState" is called in function "" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter react-hooks/rules-of-hooks code example
Example: React Hook "useState" is called in function "app" which is neither a React function component or a custom React Hook function react-hooks/rules-of-hooks
//Try to capitalize 'app' like
const App = props => {...}
export default App;