• 카테고리

    질문 & 답변
  • 세부 분야

    풀스택

  • 해결 여부

    미해결

Devtools 관련 에러와 작동 질문

20.04.24 16:59 작성 조회수 408

0

안녕하세요 
구조도 이해가 잘 가서 코드도 재확인 해보아도 문제가 없고 
메인페이지-> 회원가입(버튼 ) -> 가입하기 (화면) 까지는 잘 가는데요  Redux-devtools에서는 각 Input란에 내용 넣고 버튼 눌그면 로그인 /  가입하기 액션이 데브툴즈에 나오지도 않고 작동도 안하고 있습니다. 
강압적으로 devtoools안에서 직접 JSON형식으로 LOG_IN보내야만 겨우 로그인이 되는데요 이때 아래와 같은 에러도 함께 한번 발생했습니다. 
우선 올려놓은 코드 제 깃헙에 올려놨습니다 ㅠㅠ 한번 확인 부탁드려요
 https://github.com/minch1025/Nodebird_kwon/tree/master/front 

index.js:1 Warning: Invalid event handler property `onclick`. Did you mean `onClick`?
    in button (created by Context.Consumer)
    in Wave (created by Context.Consumer)
    in Button (at UserProfile.js:38)
    in div (created by Context.Consumer)
    in div (created by Context.Consumer)
    in Card (at UserProfile.js:15)
    in UserProfile (at AppLayout.js:31)
    in div (created by Context.Consumer)
    in Col (at AppLayout.js:30)
    in div (created by Context.Consumer)
    in Row (at AppLayout.js:29)
    in div (at AppLayout.js:12)
    in AppLayout (at _app.js:20)
    in Provider (at _app.js:12)
    in NodeBird (created by withRedux(NodeBird))
    in withRedux(NodeBird)
    in Container (created by AppContainer)
    in AppContainer

답변 1

답변을 작성해보세요.

0

에러 자체는 onclick이 아니라 onClick 오타내신 것 같습니다.