質問編集履歴

1

import行 export行を追加しました。

2019/06/22 00:17

投稿

tomoharu
tomoharu

スコア107

test CHANGED
File without changes
test CHANGED
@@ -7,6 +7,12 @@
7
7
 
8
8
 
9
9
  ```
10
+
11
+ import React from 'react';
12
+
13
+ import { connect } from 'react-redux';
14
+
15
+ import { removeExpense } from '../actions/expenses';
10
16
 
11
17
 
12
18
 
@@ -32,6 +38,10 @@
32
38
 
33
39
  )
34
40
 
41
+
42
+
43
+ export default connect()(ExpenseListItem);
44
+
35
45
  ```
36
46
 
37
47
 
@@ -41,6 +51,10 @@
41
51
 
42
52
 
43
53
  ```
54
+
55
+ import ExpenseListItem from './ExpenseListItem'
56
+
57
+
44
58
 
45
59
  const ExpenseList = (props) => (
46
60