diff --git a/special-pages/pages/new-tab/app/favorites/components/FavoritesCustomized.js b/special-pages/pages/new-tab/app/favorites/components/FavoritesCustomized.js index fc8602fd0..15fe22fb2 100644 --- a/special-pages/pages/new-tab/app/favorites/components/FavoritesCustomized.js +++ b/special-pages/pages/new-tab/app/favorites/components/FavoritesCustomized.js @@ -1,7 +1,7 @@ import { h } from 'preact'; import { useContext } from 'preact/hooks'; -import { useTelemetry, useTypedTranslation, useTypedTranslationWith } from '../../types.js'; +import { useTelemetry, useTypedTranslationWith } from '../../types.js'; import { useVisibility } from '../../widget-list/widget-config.provider.js'; import { useCustomizer } from '../../customizer/components/Customizer.js'; diff --git a/special-pages/translations.mjs b/special-pages/translations.mjs index 7005705ec..a8db8e336 100644 --- a/special-pages/translations.mjs +++ b/special-pages/translations.mjs @@ -18,7 +18,7 @@ const base = { }; if (isLaunchFile(import.meta.url)) { - for (let path of paths) { + for (const path of paths) { await processPage(path); } } @@ -43,7 +43,7 @@ async function processPage(path) { }; }); - for (let rawEntry of rawEntries) { + for (const rawEntry of rawEntries) { console.log(`✅ adding ${rawEntry.path} to ${targetName}.json`); }