correct linting error

This commit is contained in:
Sam 2016-06-08 17:01:30 +10:00
parent 6d10812b26
commit 2e0a87a2ff

View file

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