File tree Expand file tree Collapse file tree 3 files changed +7
-16
lines changed Expand file tree Collapse file tree 3 files changed +7
-16
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,6 @@ class SymptomCard extends Component {
10
10
diagnose,
11
11
fetchAllSymptoms,
12
12
symptoms,
13
- currentSymptoms,
14
- updateSymptoms,
15
13
history
16
14
} = this . props ;
17
15
return (
@@ -26,13 +24,11 @@ class SymptomCard extends Component {
26
24
</ Card . Header >
27
25
< Card . Description >
28
26
< SymptomForm
29
- user = { user }
30
- diagnose = { diagnose }
31
- fetchAllSymptoms = { fetchAllSymptoms }
32
- symptoms = { symptoms }
33
- currentSymptoms = { currentSymptoms }
34
- updateSymptoms = { updateSymptoms }
35
- history = { history }
27
+ user = { user }
28
+ diagnose = { diagnose }
29
+ fetchAllSymptoms = { fetchAllSymptoms }
30
+ symptoms = { symptoms }
31
+ history = { history }
36
32
/>
37
33
</ Card . Description >
38
34
</ Card . Content >
Original file line number Diff line number Diff line change @@ -11,8 +11,6 @@ class HomePage extends Component {
11
11
diagnose,
12
12
fetchAllSymptoms,
13
13
symptoms,
14
- currentSymptoms,
15
- updateSymptoms,
16
14
history
17
15
} = this . props ;
18
16
return (
@@ -25,8 +23,6 @@ class HomePage extends Component {
25
23
diagnose = { diagnose }
26
24
fetchAllSymptoms = { fetchAllSymptoms }
27
25
symptoms = { symptoms }
28
- currentSymptoms = { currentSymptoms }
29
- updateSymptoms = { updateSymptoms }
30
26
history = { history }
31
27
/>
32
28
</ div >
Original file line number Diff line number Diff line change @@ -23,10 +23,9 @@ class App extends Component {
23
23
diagnose = { actions . diagnose }
24
24
fetchAllSymptoms = { actions . fetchAllSymptoms }
25
25
symptoms = { diagnosis . allSymptoms }
26
- currentSymptoms = { diagnosis . symptoms }
27
- updateSymptoms = { actions . updateSymptoms }
28
26
history = { history }
29
- active = { '/' } />
27
+ active = { '/' }
28
+ />
30
29
</ div >
31
30
) ;
32
31
}
You can’t perform that action at this time.
0 commit comments