import update from 'react-addons-update';

var dancers = [
  {
    position: {
      top: 200, left: 90
    },
    name: 'Ryan'
  },
  {
    position: {
      top: 100, left: 20
    },
    name: 'Yip'
  }
];
var newDancers = update(dancers, {$merge: {}});
var formations = [dancers, newDancers];

export var initialState = {
  formations,
  selectedDancer: 0,
  editing: 0
};

import update from 'react-addons-update';

var formation1 = [
  {
    dancer: 0,
    position: {
      top: 200,
      left: 90
    }
  }, {
    dancer: 1,
    position: {
      top: 100,
      left: 20
    }
  }];

var formation2 = update(formation1, {$merge: {}});
var formations = [formation1, formation2];

var initialState = {
  formations,
  selectedDancer: 0,
  editing: 0,
  dancers: ['ryan', 'yip']
};

export default initialState;

Change dancers to be its own list
Change dancers to be its own list
