usestate is called in function which is neither a react function component or a custom react hook 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
capitalize
const App