         open_first_project : undefined
 
     clear_and_focus_input: ->
-        redux.getActions('projects').setState(search: '')
+        @actions('projects').setState(search: '')
         @refs.projects_search.clear_and_focus_search_input()
 
     delete_search_button: ->

            type         = 'search'
            value        = {@props.search}
            placeholder  = 'Search for projects...'
            on_change    = {(value)=>redux.getActions('projects').setState(search: value)}
            on_submit    = {@props.open_first_project}
            button_after = {@delete_search_button()}
        />

    open_first_project: ->
        project = @visible_projects()[0]
        if project?
            @actions('projects').setState(search : '')
            @actions('projects').open_project(project_id: project.project_id, switch_to: true)
    ###
    # Consolidate the next two functions.
