Skip to content

Commit

Permalink
fix: lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
dantio committed Jun 2, 2022
1 parent 72153e2 commit bd443ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/render/header-footer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const headerFooterContent = (els: NodeListOf<Element>, ctx: Context): Hea
let index = 1;
for (let i = 0; i < els.length; i++) {
const el = els[i];
let dataPage: string | null = el.getAttribute('data-page');
const dataPage: string | null = el.getAttribute('data-page');
let page: string | number = index;

if (dataPage) {
Expand Down

0 comments on commit bd443ab

Please sign in to comment.