       'beta-approved': betaApproved
     })
 
-    pages = [{}, @state.pages...].reduce (map, page) =>
+    pages = [{}, @props.pages...].reduce (map, page) =>
       map[page.url_key] = page
       map
 

    initialLoadComplete: React.PropTypes.bool

  propTypes:
    project: React.PropTypes.object.isRequired
    owner: React.PropTypes.object.isRequired
    preferences: React.PropTypes.object
    loading: React.PropTypes.bool

  getDefaultProps: ->
    project: null
    owner: null
    preferences: null
    loading: false
    splits: null

  getInitialState: ->
    activeWorkflows: []
    avatar: null
    background: null
    loadingSelectedWorkflow: false
    pages: []
    projectIsComplete: false
    selectedWorkflow: null



  componentWillReceiveProps: (nextProps, nextContext) ->
    if nextProps.project isnt @props.project
      @getAllWorkflows(nextProps.project)
      @updateSugarSubscription nextProps.project
      @context.geordi?.remember projectToken: nextProps.project?.slug
