質問編集履歴
1
コードの修正。
test
CHANGED
File without changes
|
test
CHANGED
@@ -64,7 +64,7 @@
|
|
64
64
|
|
65
65
|
isOn={this.state.isOn}
|
66
66
|
|
67
|
-
nPress={() => {
|
67
|
+
onPress={() => {
|
68
68
|
|
69
69
|
this.setState({isOn: !this.state.isOn});
|
70
70
|
|