Skip to content

Commit

Permalink
Chore: remove exception that impairs user experience on the off chanc…
Browse files Browse the repository at this point in the history
…e the condition is met (#32114) (#32373)
  • Loading branch information
monfera authored Mar 3, 2019
1 parent b2a0187 commit cb33978
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions x-pack/plugins/canvas/public/lib/aeroelastic_kibana.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ export const aeroelastic = {
},

createStore(initialState, onChangeCallback = () => {}, page) {
if (stores.has(page)) {
throw new Error('Only a single aeroelastic store per page should exist');
}

stores.set(page, state.createStore(initialState, onChangeCallback));

const updateScene = state.select((nextScene, primaryUpdate) => ({
Expand Down

0 comments on commit cb33978

Please sign in to comment.