correct linting error

This commit is contained in:
Sam 2016-06-08 17:01:30 +10:00
parent 6d10812b26
commit 2e0a87a2ff
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ export default createWidget('post-links', {
let titleCount = 0; let titleCount = 0;
let hasMore = links.any((l) => { let hasMore = links.any((l) => {
if (this.state.collapsed && titleCount === 5) { return true; } if (state.collapsed && titleCount === 5) { return true; }
let title = l.title; let title = l.title;
if (title && !seenTitles[title]) { if (title && !seenTitles[title]) {