fix missing account url usages

This commit is contained in:
Karol Wypchlo 2022-02-02 19:32:29 +01:00
parent ad86704ac4
commit b1653e1116
No known key found for this signature in database
GPG Key ID: B515DE9EEBE241E1
1 changed files with 4 additions and 4 deletions

View File

@ -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>
)} )}