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