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