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


      if view is 'task'
        <Task {...@props} key='task'/>
      else if view is 'dashboard'
        <Dashboard id={course.id}/>
      else if view is 'profile'
        <UserProfile onComplete={@showTasks} />
      else

{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'
