回答編集履歴

1

誤った情報があったため削除

2024/01/30 07:26

投稿

退会済みユーザー
test CHANGED
@@ -2,12 +2,12 @@
2
2
 
3
3
  (1) ファイル内容の修正
4
4
 
5
- - `import React from 'react' ` の行は不要
5
+ - ~~`import React from 'react' ` の行は不要~~
6
6
  - 関数コンポーネント名を大文字始まりの`Concept`に修正したうえで、
7
7
  - `Concept` を export default する。
8
8
 
9
9
  ```diff
10
- - import React from 'react'
10
+ import React from 'react'
11
11
 
12
12
  - export const concept = () => {
13
13
  + const Concept = () => {
@@ -23,3 +23,10 @@
23
23
 
24
24
  (3) `app/concept/` ディレクトリを作成して、そこに (2) の `page.jsx` を移動
25
25
 
26
+ ---
27
+ 訂正
28
+
29
+ import React from 'react'
30
+ は必要でした m(_ _)m
31
+
32
+