質問編集履歴
4
エラーを追記しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -5,6 +5,22 @@
|
|
5
5
|
コードは以下の通りになります。
|
6
6
|
|
7
7
|
よろしくお願いします。
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
エラーが出ていたので書いておきます。
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
```
|
16
|
+
|
17
|
+
index.js:2178 Warning: Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.
|
18
|
+
|
19
|
+
in Color (at App.js:8)
|
20
|
+
|
21
|
+
in App (at index.js:7)
|
22
|
+
|
23
|
+
```
|
8
24
|
|
9
25
|
|
10
26
|
|
3
ミスがあったので訂正しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -58,7 +58,7 @@
|
|
58
58
|
|
59
59
|
|
60
60
|
|
61
|
-
function Co
|
61
|
+
function Color() {
|
62
62
|
|
63
63
|
return <p>hello world!</p>;
|
64
64
|
|
2
ミスがあったので書き直しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -64,7 +64,7 @@
|
|
64
64
|
|
65
65
|
}
|
66
66
|
|
67
|
-
)
|
67
|
+
);
|
68
68
|
|
69
69
|
}
|
70
70
|
|
1
ごじ
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
画面に
|
1
|
+
画面にHello Worldを表示させたいのですが、何も表示されません。
|
2
2
|
|
3
3
|
|
4
4
|
|
@@ -60,7 +60,7 @@
|
|
60
60
|
|
61
61
|
function Counter() {
|
62
62
|
|
63
|
-
return <p>hello!</p>;
|
63
|
+
return <p>hello world!</p>;
|
64
64
|
|
65
65
|
}
|
66
66
|
|