File tree 4 files changed +8
-8
lines changed
05-email-view/src/containers
06-email-form/src/containers
07-submit-email-form/src/containers
08-optimistic-updating/src/containers
4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ export default class EmailApp extends React.Component {
55
55
. catch ( ( ex ) => console . error ( ex ) ) ;
56
56
}
57
57
58
- _handleItemSelected ( emailId ) {
58
+ _handleItemSelect ( emailId ) {
59
59
// update state (so that the EmailView will show)
60
60
this . setState ( { selectedEmailId : emailId } ) ;
61
61
}
@@ -83,7 +83,7 @@ export default class EmailApp extends React.Component {
83
83
< main >
84
84
< EmailList
85
85
emails = { emails }
86
- onItemSelect = { this . _handleItemSelected . bind ( this ) }
86
+ onItemSelect = { this . _handleItemSelect . bind ( this ) }
87
87
/>
88
88
{ emailViewComponent }
89
89
< EmailForm />
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ export default class EmailApp extends React.Component {
55
55
. catch ( ( ex ) => console . error ( ex ) ) ;
56
56
}
57
57
58
- _handleItemSelected ( emailId ) {
58
+ _handleItemSelect ( emailId ) {
59
59
// update state (so that the EmailView will show)
60
60
this . setState ( { selectedEmailId : emailId } ) ;
61
61
}
@@ -83,7 +83,7 @@ export default class EmailApp extends React.Component {
83
83
< main >
84
84
< EmailList
85
85
emails = { emails }
86
- onItemSelect = { this . _handleItemSelected . bind ( this ) }
86
+ onItemSelect = { this . _handleItemSelect . bind ( this ) }
87
87
/>
88
88
{ emailViewComponent }
89
89
< EmailForm />
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ export default class EmailApp extends React.Component {
55
55
. catch ( ( ex ) => console . error ( ex ) ) ;
56
56
}
57
57
58
- _handleItemSelected ( emailId ) {
58
+ _handleItemSelect ( emailId ) {
59
59
// update state (so that the EmailView will show)
60
60
this . setState ( { selectedEmailId : emailId } ) ;
61
61
}
@@ -103,7 +103,7 @@ export default class EmailApp extends React.Component {
103
103
< main >
104
104
< EmailList
105
105
emails = { emails }
106
- onItemSelect = { this . _handleItemSelected . bind ( this ) }
106
+ onItemSelect = { this . _handleItemSelect . bind ( this ) }
107
107
/>
108
108
{ emailViewComponent }
109
109
< EmailForm onSubmit = { this . _handleFormSubmit . bind ( this ) } />
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ export default class EmailApp extends React.Component {
55
55
. catch ( ( ex ) => console . error ( ex ) ) ;
56
56
}
57
57
58
- _handleItemSelected ( emailId ) {
58
+ _handleItemSelect ( emailId ) {
59
59
// update state (so that the EmailView will show)
60
60
this . setState ( { selectedEmailId : emailId } ) ;
61
61
}
@@ -126,7 +126,7 @@ export default class EmailApp extends React.Component {
126
126
< main >
127
127
< EmailList
128
128
emails = { emails }
129
- onItemSelect = { this . _handleItemSelected . bind ( this ) }
129
+ onItemSelect = { this . _handleItemSelect . bind ( this ) }
130
130
/>
131
131
{ emailViewComponent }
132
132
< EmailForm onSubmit = { this . _handleFormSubmit . bind ( this ) } />
You can’t perform that action at this time.
0 commit comments