回答編集履歴
1
コード修正
test
CHANGED
@@ -2,14 +2,20 @@
|
|
2
2
|
|
3
3
|
|
4
4
|
|
5
|
-
```
|
5
|
+
```diff
|
6
6
|
|
7
|
-
<div className="post-basic-catbox">
|
7
|
+
<div className="post-basic-catbox">
|
8
8
|
|
9
|
-
<span className="post-basic-catname">{post.category}</span>
|
9
|
+
<span className="post-basic-catname">{post.category}</span>
|
10
10
|
|
11
|
-
|
11
|
+
- <span className="post-basic-tagname">#タグ1</span>
|
12
12
|
|
13
|
+
- <span className="post-basic-tagname">#タグ2</span>
|
14
|
+
|
15
|
+
- <span className="post-basic-tagname">#タグ3</span>
|
16
|
+
|
17
|
+
+ {post.tags.map(tag => <span key={tag} className="post-basic-tagname">{tag}</span>)}
|
18
|
+
|
13
|
-
</div>
|
19
|
+
</div>
|
14
20
|
|
15
21
|
```
|