Closed TimPietrusky closed 6 years ago
selectors.getScenes(getState()).map(scene => { if (scene.fixtures.indexOf(fixtureId) > -1) { dispatch(removeFixtureFromScene(scene.id, scene.fixtures.indexOf(fixtureId))); } });
-> scene.fixtures.indexOf
This was fixed with #43 because now scene.fixtures is initialised with an empty array.
scene.fixtures
-> scene.fixtures.indexOf