   onClickFavorite: ->
     if @state.favorited is false
       @setState favorited: true
-      @props.classification.favorite is true
+      @props.classification.favorite = true
       @refs.favoriteIcon.getDOMNode().src = "./assets/fav-icon-filled.svg"
     else
       @setState favorited: false
-      @props.classification.favorite is false
+      @props.classification.favorite = false
       @refs.favoriteIcon.getDOMNode().src = "./assets/fav-icon.svg"
 
   render: ->

      @setState previews: @props.previews
    ), 2000

  animateImages: ->
    @animate "image-flip", {transform: 'rotateY(180deg)'}, {transform: 'rotateY(0deg)'}, 'ease-in-out', 500


    else
      @setState zoomImage: false
      @setState zoomImageIndex: null

  onClickGuide: ->
    if @props.guideIsOpen is false
