Fixes language in error message. (#12590)

This commit is contained in:
Steven Frieson
2018-04-10 15:09:45 +01:00
committed by Dan Abramov
parent 52afbe0ebb
commit 3eae866e03
+1 -1
View File
@@ -133,7 +133,7 @@ let SharedHostConfig = {
throw new Error('Should have old props');
}
if (newProps === null) {
throw new Error('Should have old props');
throw new Error('Should have new props');
}
return UPDATE_SIGNAL;
},