survivejs / react-book

From apprentice to master (CC BY-NC-ND)
https://survivejs.com/react/introduction/
2.02k stars 366 forks source link

Removing unreachable if condition #400

Closed ahlau closed 8 years ago

ahlau commented 8 years ago

After adding code to filter out the note, the second if(lane.notes.includes(noteId)) statement doesn't seem necessary.

bebraw commented 8 years ago

Thanks! Good catch.