Skip to content

Commit

Permalink
remove pt/es locales
Browse files Browse the repository at this point in the history
  • Loading branch information
deadit committed Nov 16, 2022
1 parent a6f9c0a commit 5a46c09
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 5a46c09

Please sign in to comment.