Open1

React!

tomokrtomokr
React Hook "useState" is called in function "app" which is neither a React function component or a custom React Hook function

=> useStateを使っている関数の名前が大文字で始まっていないので出るエラー。