#370 (closed)
I would do this is with an early return instead of an if. Also OR with 2 negatives is very confusing to read, so maybe if (this.timelineName === 'friends' && !credentials) would be better?
if (this.timelineName === 'friends' && !credentials)
changed this line in version 3 of the diff
I've just updated.
I would do this is with an early return instead of an if. Also OR with 2 negatives is very confusing to read, so maybe
if (this.timelineName === 'friends' && !credentials)
would be better?changed this line in version 3 of the diff
I've just updated.