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 df81166..6fde5dc 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("support")} {i18n.t("docs")} diff --git a/src/shared/components/main.tsx b/src/shared/components/main.tsx index 4c8c7c4..29ac5cd 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 23dc9af..956a5f6 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 { Support } from "./components/support"; @@ -17,9 +17,9 @@ export const routes: IRouteProps[] = [ component: Apps, }, { - path: `/join`, + path: `/instances`, exact: true, - component: Join, + component: Instances, }, { path: `/contact`,