質問編集履歴
1
指摘をいただいたため、修正
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
|
|