Skip to content

Commit d346ba5

Browse files
Update index.js
1 parent 0b372a1 commit d346ba5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pages/docs/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import Link from 'next/link';
3030
import { CopyBlock, dracula } from 'react-code-blocks';
3131
import { useTranslations } from 'next-intl';
3232
import { useGlobalContext } from '@/global-context';
33-
import { langcode } from '@/stuff/langcode';
33+
import { langcode, debug } from '@/stuff/langcode';
3434

3535
const tutorial = {
3636
'JS': [
@@ -101,9 +101,9 @@ const Home = (props) => {
101101
>
102102
<div>
103103
{locales.map((all_languages, index) => (
104-
<Link href={`/${langcode(index)}/docs`}>
104+
<Link href={debug(`/${langcode(index)}/docs`)}>
105105
<Fragment key={index}>
106-
<Link href={`/${langcode(index)}/docs`}>
106+
<Link href={debug(`/${langcode(index)}/docs`)}>
107107
<div className="home-language-switcher-item">
108108
<span className="home-language-link">
109109
{all_languages?.name}

0 commit comments

Comments
 (0)