Skip to content

Commit 0025c80

Browse files
committed
Fix linter
1 parent c06cd93 commit 0025c80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/controllers/infinite_scroll_controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default class extends Controller {
2626
let paginationElem = null;
2727
if (cursorPaginationElement.length) {
2828
console.log(cursorPaginationElement[0]);
29-
let button = cursorPaginationElement[0].getElementsByTagName('a');
29+
const button = cursorPaginationElement[0].getElementsByTagName('a');
3030
if (!button.length) {
3131
throw new Error('No more pages');
3232
}

0 commit comments

Comments
 (0)