Commit d8587012 authored by MrMan's avatar MrMan

Add comment that might be completely wrong

parent 875e2041
......@@ -157,6 +157,7 @@ let RecommendationStore = Reflux.createStore({
console.log("[TINDER RECOMMENDATION STORE] Detected successful sentiment processing", s);
// Get the next recommendation if the sentiment was processed
// If state.currentRec is null, this must have been the last sentiment (for current batch of recs)
let currentRecMatches = this.state.currentRec ? (s.userId === this.state.currentRec._id) : false;
if (currentRecMatches) {
this.getNextRecommendation();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment