File tree Expand file tree Collapse file tree 4 files changed +2
-14
lines changed Expand file tree Collapse file tree 4 files changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -29,9 +29,6 @@ const styles = theme => ({
29
29
}
30
30
} ) ;
31
31
32
-
33
- const executing = "executing"
34
-
35
32
class Admin extends Component {
36
33
constructor ( props ) {
37
34
super ( props ) ;
Original file line number Diff line number Diff line change @@ -35,9 +35,6 @@ const StyledTableRow = withStyles((theme) => ({
35
35
const PET_COUNT = 3 ;
36
36
37
37
class Adoptions extends Component {
38
- constructor ( props ) {
39
- super ( props ) ;
40
- }
41
38
42
39
getLatestPets ( petList ) {
43
40
let retVal ;
@@ -79,7 +76,7 @@ class Adoptions extends Component {
79
76
{ _ . map ( latestPets , ( adoptionInfo , index ) => {
80
77
81
78
const photoLink = _ . get ( adoptionInfo , "Photos.[0]" ) ;
82
- const photo = < img src = { photoLink } style = { { "maxWidth" : "100px" } } />
79
+ const photo = < img src = { photoLink } alt = "animal" style = { { "maxWidth" : "100px" } } />
83
80
84
81
return < StyledTableRow key = { index } >
85
82
< TableCell align = "center" > { adoptionInfo [ "Name" ] } </ TableCell >
Original file line number Diff line number Diff line change @@ -17,10 +17,6 @@ const StyledContact = withStyles((theme) => ({
17
17
18
18
19
19
class ContactInfo extends Component {
20
- constructor ( props ) {
21
- super ( props ) ;
22
- }
23
-
24
20
25
21
populate_participant_with_data_source ( participant , participantData ) {
26
22
return {
Original file line number Diff line number Diff line change @@ -66,12 +66,10 @@ class SearchBar extends Component {
66
66
}
67
67
68
68
selectParticipant ( ) {
69
- let participants ;
70
-
71
69
if ( this . state . participantList != null ) {
72
70
const participantList = this . state . participantList . slice ( 0 , LIST_LIMIT ) ;
73
71
74
- participants = _ . map ( participantList , person => {
72
+ _ . map ( participantList , person => {
75
73
return ( < MenuItem value = { person . contact_id } key = { person . contact_id } >
76
74
{ person . name }
77
75
{ " " }
You can’t perform that action at this time.
0 commit comments