teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

指摘をいただいたため、修正

2020/08/17 00:06

投稿

takada.m
takada.m

スコア0

title CHANGED
File without changes
body CHANGED
@@ -15,7 +15,7 @@
15
15
  handleClick = async () => {
16
16
  await this.props.requestFetch(this.state.id, this.state.result); // ここがAPIを叩いている部分
17
17
  this.setState(({ errorCheck: this.props.isError }),
18
- () => isError === false && this.props.history.push('/menu'));
18
+ () => this.props.isError === false && this.props.history.push('/menu'));
19
19
  }
20
20
  ```
21
21