refact: remove isValkid false on error
This commit is contained in:
parent
cdfac800a1
commit
be1d1a6333
@ -4,7 +4,6 @@ class Node {
|
||||
constructor (props) {
|
||||
const validatePropsResponse = this._validateConstructionProps(props)
|
||||
if (validatePropsResponse.status === 'ERR') {
|
||||
this.isValid = false
|
||||
throw validatePropsResponse
|
||||
}
|
||||
else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user