fix: remove duplicate lang prop
This commit is contained in:
@@ -45,7 +45,7 @@ export default function LoginButton({
|
||||
className={className}
|
||||
id={trackingId}
|
||||
color={color}
|
||||
href={`${login[lang]}?redirectTo=${encodeURIComponent(`/${lang}${pathName}`)}`}
|
||||
href={`${login[lang]}?redirectTo=${encodeURIComponent(pathName)}`}
|
||||
>
|
||||
{children}
|
||||
</Link>
|
||||
|
||||
Reference in New Issue
Block a user