We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48da744 commit 7850cacCopy full SHA for 7850cac
src/components/Language/Language.tsx
@@ -21,7 +21,7 @@ const Language: React.FC<LanguageProps> = ({ changeLanguage }) => {
21
const currentPath = window.location.href;
22
let newUrl = '';
23
24
- if (lng === 'fr') {
+ if (lng === 'en') {
25
newUrl = currentPath.replace('\.fr', '\.com');
26
} else {
27
newUrl = currentPath.replace('\.com', '\.fr');
0 commit comments