From 1c26a85fff7fea0f2504fa7f4b75006d389bbdb6 Mon Sep 17 00:00:00 2001 From: Sunny Date: Fri, 16 Jun 2023 15:00:01 +0000 Subject: [PATCH] Make community IDs more easily selectable (#1306) * Make community IDs more easily selectable * Use T component for alert * Use T component for alert --------- Co-authored-by: SleeplessOne1917 Co-authored-by: Dessalines --- src/shared/components/community/sidebar.tsx | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/shared/components/community/sidebar.tsx b/src/shared/components/community/sidebar.tsx index a5c620f..63378a1 100644 --- a/src/shared/components/community/sidebar.tsx +++ b/src/shared/components/community/sidebar.tsx @@ -1,4 +1,5 @@ import { Component, InfernoNode, linkEvent } from "inferno"; +import { T } from "inferno-i18next-dess"; import { Link } from "inferno-router"; import { AddModToCommunity, @@ -144,10 +145,15 @@ export class Sidebar extends Component { {myUSerInfo && this.blockCommunity()} {!myUSerInfo && (
- {i18n.t("community_not_logged_in_alert", { - community: name, - instance: hostname(actor_id), - })} + + ### +
)} -- 2.44.1