 
     @setState { value }
 
-    if value is '' then return @resetSearch()
+    return @resetSearch()  if value is ''
 
     isSearching = yes
 

    kd.utils.wait 1000, ->
      isSearching = no

  search: (event) ->

    { value }   = event.target


    super

    @state =
      value: ''
      noResultText: no
      threads: @props.sidebarModalChannels.followed


  onThresholdReached: ->
