fix missing account url usages
This commit is contained in:
parent
ad86704ac4
commit
b1653e1116
|
@ -101,7 +101,7 @@ const Navigation = ({ mode, uri }) => {
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{showAccountNavigation && (
|
{showAccountNavigation && (
|
||||||
<Link href={accountsUrl} className="button-primary">
|
<Link href={createAccountsUrl()} className="button-primary">
|
||||||
My account
|
My account
|
||||||
</Link>
|
</Link>
|
||||||
)}
|
)}
|
||||||
|
@ -144,18 +144,18 @@ const Navigation = ({ mode, uri }) => {
|
||||||
<div className="flex items-center justify-center px-4 space-x-6">
|
<div className="flex items-center justify-center px-4 space-x-6">
|
||||||
{showLoginNavigation && (
|
{showLoginNavigation && (
|
||||||
<>
|
<>
|
||||||
<Link href={`${accountsUrl}auth/login`} className="button-secondary-light">
|
<Link href={createAccountsUrl("auth/login")} className="button-secondary-light">
|
||||||
Log in
|
Log in
|
||||||
</Link>
|
</Link>
|
||||||
|
|
||||||
<Link href={`${accountsUrl}auth/registration`} className="button-primary">
|
<Link href={createAccountsUrl("/auth/registration")} className="button-primary">
|
||||||
Sign up
|
Sign up
|
||||||
</Link>
|
</Link>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{showAccountNavigation && (
|
{showAccountNavigation && (
|
||||||
<Link href={accountsUrl} className="button-primary">
|
<Link href={createAccountsUrl()} className="button-primary">
|
||||||
My account
|
My account
|
||||||
</Link>
|
</Link>
|
||||||
)}
|
)}
|
||||||
|
|
Reference in New Issue