diff --git a/content/blog/2018-06-07-you-probably-dont-need-derived-state.md b/content/blog/2018-06-07-you-probably-dont-need-derived-state.md index 70ea5bda..3e0c6006 100644 --- a/content/blog/2018-06-07-you-probably-dont-need-derived-state.md +++ b/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) { return { prevPropsUserID: props.userID, - email: props.email + email: props.defaultEmail }; } return null;