Browse Source

Fix typo

main
Brian Vaughn 7 years ago
parent
commit
fc0c2bc154
  1. 2
      content/blog/2018-06-07-you-probably-dont-need-derived-state.md

2
content/blog/2018-06-07-you-probably-dont-need-derived-state.md

@ -166,7 +166,7 @@ class EmailInput extends Component {
if (props.userID !== state.prevPropsUserID) { if (props.userID !== state.prevPropsUserID) {
return { return {
prevPropsUserID: props.userID, prevPropsUserID: props.userID,
email: props.email email: props.defaultEmail
}; };
} }
return null; return null;

Loading…
Cancel
Save