Locale switcher fix

This commit is contained in:
Henrik Larsson 2023-08-13 23:03:03 +02:00
parent b95cca0fcc
commit 30e9b591ce

View File

@ -67,7 +67,7 @@ export default function LocaleSwitcher() {
className={`flex w-full cursor-pointer items-center px-4 py-2 text-sm ${
currentLocale == locale.id && 'font-bold'
}`}
href={redirectedPathName(locale.id)}
href={redirectedPathName()}
>
{locale.title}
</Link>