monkey = require('baobab').monkey

module.exports = monkey({
  cursors:
    onBoarding: ['onBoarding']
  get: (state) ->
    if state.onBoarding.complete
      return 'complete'
    else
      return state.onBoarding.steps[(
        state.onBoarding.currentStepId - 1
      )]
})
