diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-01-10 20:39:21 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-01-10 20:39:21 -0400 |
commit | c09e733544f8f47850532aecee4d14887ffd83db (patch) | |
tree | 5ea4e20cb1858f66781d29e1bc528b4948001f61 /src | |
parent | 3242ebb15aa0176e62a0e233d05e61e0f35a792c (diff) |
remove unused arg from getFooterLocalizationLinks
eslint didn't warn about this ????????????
Diffstat (limited to 'src')
-rw-r--r-- | src/misc-templates.js | 2 | ||||
-rw-r--r-- | 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, |