From fc0c2bc15429f86197bb16da6b013cc4ba6642a8 Mon Sep 17 00:00:00 2001 From: Brian Vaughn Date: Thu, 7 Jun 2018 23:23:19 -0400 Subject: [PATCH] Fix typo --- content/blog/2018-06-07-you-probably-dont-need-derived-state.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;