From f14095505d46aa2c62ec7a1c6988442646d1fa6b Mon Sep 17 00:00:00 2001 From: chriddyp Date: Wed, 31 Jan 2018 19:04:50 -0500 Subject: [PATCH] code style --- src/actions/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/actions/index.js b/src/actions/index.js index 903cb36..80a812e 100644 --- a/src/actions/index.js +++ b/src/actions/index.js @@ -58,7 +58,7 @@ function triggerDefaultState(dispatch, getState) { * and the invisible inputs */ if (InputGraph.dependenciesOf(nodeId).length > 0 && - InputGraph.dependantsOf(nodeId).length == 0 && + InputGraph.dependantsOf(nodeId).length === 0 && has(componentId, getState().paths) ) { inputNodeIds.push(nodeId); @@ -368,8 +368,8 @@ function updateOutput( }; if (event) { - payload.event = event; - } + payload.event = event; + } const {inputs, state} = dependenciesRequest.content.find( dependency => (