From 28135fee26d11fada96b2e31a38d8526660d76de Mon Sep 17 00:00:00 2001 From: monfera Date: Thu, 14 Feb 2019 18:55:46 +0100 Subject: [PATCH] Chore: `shapeAdditions` disused; cleaning up `state.ts` --- x-pack/plugins/canvas/public/lib/aeroelastic_kibana.js | 1 - x-pack/plugins/canvas/public/state/middleware/aeroelastic.js | 1 - 2 files changed, 2 deletions(-) diff --git a/x-pack/plugins/canvas/public/lib/aeroelastic_kibana.js b/x-pack/plugins/canvas/public/lib/aeroelastic_kibana.js index 6a7034782baf8..20bb45df5187a 100644 --- a/x-pack/plugins/canvas/public/lib/aeroelastic_kibana.js +++ b/x-pack/plugins/canvas/public/lib/aeroelastic_kibana.js @@ -22,7 +22,6 @@ export const aeroelastic = { stores.set(page, state.createStore(initialState, onChangeCallback)); const updateScene = state.select((nextScene, primaryUpdate) => ({ - shapeAdditions: nextScene.shapes, primaryUpdate, currentScene: nextScene, configuration: nextScene.configuration, diff --git a/x-pack/plugins/canvas/public/state/middleware/aeroelastic.js b/x-pack/plugins/canvas/public/state/middleware/aeroelastic.js index 9cc2d87161961..5159f78be0839 100644 --- a/x-pack/plugins/canvas/public/state/middleware/aeroelastic.js +++ b/x-pack/plugins/canvas/public/state/middleware/aeroelastic.js @@ -261,7 +261,6 @@ export const aeroelastic = ({ dispatch, getState }) => { const createStore = page => aero.createStore( { - shapeAdditions: [], primaryUpdate: null, currentScene: { shapes: [] }, configuration: aeroelasticConfiguration,