 
   getUserState: ->
     course = User.getCourse(@props.collectionUUID)
+
     isLoggedIn: User.isLoggedIn(),
     isLoaded: User.isLoaded,
     isRegistered: course?.isRegistered()

    moduleUUID:     React.PropTypes.string.isRequired
    collectionUUID: React.PropTypes.string.isRequired

  getInitialState: ->
    userState = @getUserState()
    userState.view = 'task'

    userState


{SmartOverflow} = require 'openstax-react-components'

{Task} = require '../task'
navigation = {Navigation} = require '../navigation'
CourseRegistration = require '../course/registration'

UserLoginButton = require '../user/login-button'
UserLogin = require '../user/login'
UserProfile = require '../user/profile'

{ExerciseStep} = require '../exercise'
{Dashboard} = require '../dashboard'
{Progress} = require '../progress'


User = require '../user/model'
