回答編集履歴

1

インデント修正

2020/01/29 06:22

投稿

退会済みユーザー
test CHANGED
@@ -16,7 +16,7 @@
16
16
 
17
17
  ```typescript
18
18
 
19
- googleTranslate.translate(element.title, lng, function (err, translation) {
19
+ googleTranslate.translate(element.title, lng, function (err, translation) {
20
20
 
21
21
  array[i].title = translation.translatedText
22
22
 
@@ -46,7 +46,7 @@
46
46
 
47
47
  ```
48
48
 
49
- const contents = this.props.trips.map(val =>
49
+ const contents = this.props.trips.map(val =>
50
50
 
51
51
  <li className='index-ul__item' key={i++}>
52
52