     user: null
     conversations: []
     conversationsMeta: {}
+    loading: true
 
   componentDidMount: ->
     @handleAuthChange()

PromiseToSetState = require '../lib/promise-to-set-state'
Paginator = require './lib/paginator'
Router = {Link} = require 'react-router'

PAGE_SIZE = 10


    </div>

  render: ->
    {conversations, user, loading} = @state
    <div className="inbox content-container">
      <h1>Inbox</h1>

      {if loading
        <Loading />
      else if not user
        <p>Please sign in to view your inbox</p>
      else if conversations?.length is 0
        <p>You have not started any private conversations yet</p>
      else if conversations?.length
        <div>
          {conversations?.map(@conversationLink)}
