diff --git a/client/src/document/index.tsx b/client/src/document/index.tsx index 1a5edd1e4503..8f0591f16d0c 100644 --- a/client/src/document/index.tsx +++ b/client/src/document/index.tsx @@ -271,7 +271,7 @@ export function Document(props /* TODO: define a TS interface for this */) { - + {false && } diff --git a/client/src/document/organisms/article-footer/index.tsx b/client/src/document/organisms/article-footer/index.tsx index d190c7bf5e55..b7531ab834f8 100644 --- a/client/src/document/organisms/article-footer/index.tsx +++ b/client/src/document/organisms/article-footer/index.tsx @@ -5,6 +5,7 @@ import { ReactComponent as ArticleFooterSVG } from "../../../assets/article-foot import "./index.scss"; import { useGleanClick } from "../../../telemetry/glean-context"; import { ARTICLE_FOOTER, THUMBS } from "../../../telemetry/constants"; +import { DEFAULT_LOCALE } from "../../../../../libs/constants"; export function LastModified({ value, locale }) { if (!value) { @@ -46,7 +47,7 @@ const FEEDBACK_REASONS: Required> = { other: "Other", }; -export function ArticleFooter({ doc, locale }) { +export function ArticleFooter({ doc }) { const [view, setView] = useState(ArticleFooterView.Vote); const [reason, setReason] = useState(); @@ -127,9 +128,9 @@ export function ArticleFooter({ doc, locale }) { )} - +

- by{" "} + by{" "} .

{doc.isActive && } @@ -138,13 +139,15 @@ export function ArticleFooter({ doc, locale }) { ); } -function Contribute() { +function Contribute({ locale }) { + const repo = locale === DEFAULT_LOCALE ? "content" : "translated-content"; + return ( <>