diff --git a/src/shared/components/join.tsx b/src/shared/components/instances.tsx similarity index 99% rename from src/shared/components/join.tsx rename to src/shared/components/instances.tsx index 13b132a..60a5d86 100644 --- a/src/shared/components/join.tsx +++ b/src/shared/components/instances.tsx @@ -6,7 +6,7 @@ const title = i18n.t("join_title"); // TODO wait until new lemmy-instances is written to refactor this -export class Join extends Component { +export class Instances extends Component { constructor(props: any, context: any) { super(props, context); } diff --git a/src/shared/components/link-line.tsx b/src/shared/components/link-line.tsx index a5e2e52..db7f810 100644 --- a/src/shared/components/link-line.tsx +++ b/src/shared/components/link-line.tsx @@ -9,7 +9,7 @@ export class LinkLine extends Component { render() { return ( <> - {i18n.t("join")} + {i18n.t("join")} {i18n.t("apps")} {i18n.t("sponsors")} {i18n.t("docs")} diff --git a/src/shared/components/main.tsx b/src/shared/components/main.tsx index d9720a1..95c5074 100644 --- a/src/shared/components/main.tsx +++ b/src/shared/components/main.tsx @@ -14,7 +14,7 @@ export class Main extends Component { joinServer() { return ( - + {i18n.t("join_a_server")} ); diff --git a/src/shared/routes.ts b/src/shared/routes.ts index 327bdea..699e091 100644 --- a/src/shared/routes.ts +++ b/src/shared/routes.ts @@ -1,7 +1,7 @@ import { IRouteProps } from "inferno-router/dist/Route"; import { Main } from "./components/main"; import { Apps } from "./components/apps"; -import { Join } from "./components/join"; +import { Instances } from "./components/instances"; import { Contact } from "./components/contact"; import { Sponsors } from "./components/sponsors"; @@ -17,9 +17,9 @@ export const routes: IRouteProps[] = [ component: Apps, }, { - path: `/join`, + path: `/instances`, exact: true, - component: Join, + component: Instances, }, { path: `/contact`,