Skip to content

Commit

Permalink
Merge pull request #90 from ergoplatform/i88/remove_pt_es_locales
Browse files Browse the repository at this point in the history
[ISSUE-88] remove pt/es locales
  • Loading branch information
deadit authored Nov 16, 2022
2 parents 46869eb + 5a46c09 commit 8d682ba
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default function Footer() {
setNewsData(news);
};
fetchData();
}, []);
}, [locale]);

return (
<footer id="Footer" className="relative z-10">
Expand Down
2 changes: 1 addition & 1 deletion next-sitemap.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = {
sitemapSize: 5000,
generateRobotsTxt: true,
alternateRefs: [
['en', 'es', 'de', 'it', 'pt', 'hu', 'ru', 'cn']
['en', 'de', 'it', 'hu', 'ru', 'cn']
.filter((locale) => locale !== 'default')
.map((locale) => ({ href: `${siteUrl}/${locale}`, hreflang: locale })),
],
Expand Down
4 changes: 2 additions & 2 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ const nextConfig = {
locales: [
'default',
'en',
'es',
// 'es',
'de',
'it',
'pt',
// 'pt',
'hu',
'ru',
'cn',
Expand Down

0 comments on commit 8d682ba

Please sign in to comment.