Extract hostname from the existing URL constant instead
This commit is contained in:
parent
766640b0cf
commit
eae7631d66
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ export class Footer extends Component<FooterProps, any> {
|
|||
<li className="nav-item">
|
||||
<a className="nav-link" href={joinLemmyUrl}>
|
||||
{myAuth()
|
||||
? "join-lemmy.org"
|
||||
? new URL(joinLemmyUrl).hostname
|
||||
: I18NextService.i18n.t("join_lemmy")}
|
||||
</a>
|
||||
</li>
|
||||
|
|
Loading…
Reference in a new issue