From c09e733544f8f47850532aecee4d14887ffd83db Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Tue, 10 Jan 2023 20:39:21 -0400 Subject: remove unused arg from getFooterLocalizationLinks eslint didn't warn about this ???????????? --- src/misc-templates.js | 2 +- src/write/page-template.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/misc-templates.js b/src/misc-templates.js index 794b6920..7cfdc86c 100644 --- a/src/misc-templates.js +++ b/src/misc-templates.js @@ -968,7 +968,7 @@ function unbound_generateStickyHeadingContainer({ // Footer stuff -function unbound_getFooterLocalizationLinks(pathname, { +function unbound_getFooterLocalizationLinks({ html, defaultLanguage, language, diff --git a/src/write/page-template.js b/src/write/page-template.js index 7c2f0c66..0bf0a98e 100644 --- a/src/write/page-template.js +++ b/src/write/page-template.js @@ -163,7 +163,7 @@ export function generateDocumentHTML(pageInfo, { }, footer.content), - getFooterLocalizationLinks(pathname, { + getFooterLocalizationLinks({ defaultLanguage, html, language, -- cgit 1.3.0-6-gf8a5