Skip to content

Commit

Permalink
Just use hostname of join lemmy site in footer
Browse files Browse the repository at this point in the history
To maintain consistency whether logged in or not.
  • Loading branch information
dnswrsrx committed Jul 3, 2023
1 parent eae7631 commit 5b41ce7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/shared/components/app/footer.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { myAuth } from "@utils/app";
import { Component } from "inferno";
import { NavLink } from "inferno-router";
import { GetSiteResponse } from "lemmy-js-client";
Expand Down Expand Up @@ -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>
Expand Down

0 comments on commit 5b41ce7

Please sign in to comment.