Just use hostname of join lemmy site in footer

To maintain consistency whether logged in or not.
This commit is contained in:
dnswrsrx 2023-07-03 16:32:26 -07:00
parent eae7631d66
commit 5b41ce7d7b

View file

@ -1,4 +1,3 @@
import { myAuth } from "@utils/app";
import { Component } from "inferno";
import { NavLink } from "inferno-router";
import { GetSiteResponse } from "lemmy-js-client";
@ -59,9 +58,7 @@ export class Footer extends Component<FooterProps, any> {
</li>
<li className="nav-item">
<a className="nav-link" href={joinLemmyUrl}>
{myAuth()
? new URL(joinLemmyUrl).hostname
: I18NextService.i18n.t("join_lemmy")}
{new URL(joinLemmyUrl).hostname}
</a>
</li>
</ul>