From: Hermanto Lim Date: Fri, 23 Apr 2021 19:13:21 +0000 (+0700) Subject: Change from using Link to NavLink. resolve #269 X-Git-Url: http://these/git/sneer-club-logo.svg?a=commitdiff_plain;h=9e77148cb1c33677ca6a4ef44bdffce8933a8d52;p=lemmy-ui.git Change from using Link to NavLink. resolve #269 --- diff --git a/src/shared/components/footer.tsx b/src/shared/components/footer.tsx index 16f5fc7..d447cc3 100644 --- a/src/shared/components/footer.tsx +++ b/src/shared/components/footer.tsx @@ -1,5 +1,5 @@ import { Component } from "inferno"; -import { Link } from "inferno-router"; +import { NavLink } from "inferno-router"; import { i18n } from "../i18next"; import { repoUrl, joinLemmyUrl, docsUrl } from "../utils"; import { GetSiteResponse } from "lemmy-js-client"; @@ -22,15 +22,15 @@ export class Footer extends Component { {this.props.site.version}
  • - + {i18n.t("modlog")} - +
  • {this.props.site.federated_instances && ( )}