 PromiseRenderer = require '../components/promise-renderer'
 apiClient = require 'panoptes-client/lib/api-client'
 Select = require 'react-select'
-{Link, Router, Navigation, History} = require 'react-router'
+{Link, Router, History} = require 'react-router'
 Translate = require 'react-translate-component'
 debounce = require 'debounce'
 Filmstrip = require '../components/filmstrip'

  navigateToProject: (projectID) ->
    apiClient.type('projects').get(projectID)
      .then (project) ->
        if project.redirect?
          window.location.href = project.redirect
        else
          window.location.href = ['/projects', project.slug].join('/')

    <Filmstrip increment={350} value={@props.value} onChange={@props.onChange}/>

SearchSelector = React.createClass
  displayName: 'SearchSelector'
  mixins: [History]

