React Hook "useState" is called in function "counter" that is neither a React function component nor a custom React Hook function : 컴포넌트로 사용하는 함수의 이름이 대문자가 아닌 소문자여서 JSX문법에 어긋나서 생긴 에러
React Hook "useState" is called in function "counter" that is neither a React function component nor a custom React Hook function