refact: remove isValkid false on error

This commit is contained in:
ysandler 2020-06-16 20:49:45 -05:00 committed by Joshua Shoemaker
parent 26424c2795
commit cd6fc93644

View File

@ -4,7 +4,6 @@ class Node {
constructor (props) {
const validatePropsResponse = this._validateConstructionProps(props)
if (validatePropsResponse.status === 'ERR') {
this.isValid = false
throw validatePropsResponse
}
else {