From 0798987ed01d02fee11112b961ad068936176a0a Mon Sep 17 00:00:00 2001 From: Ryan Marren Date: Fri, 20 Jul 2018 18:51:20 -0400 Subject: [PATCH] Forgot rambda syntax for state --- src/actions/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/actions/index.js b/src/actions/index.js index 931bf8151a..46c86a6e7c 100644 --- a/src/actions/index.js +++ b/src/actions/index.js @@ -446,7 +446,7 @@ function updateOutput( if (state.length > 0) { payload.state = state.map(stateObject => { // Make sure the component id exists in the layout - if (!validKeys.includes(stateObject.id)) { + if (!contains(stateObject.id, validKeys)) { throw ReferenceError( "An invalid input object was used in a " + "`State` object of a Dash callback. " +