by fixing the cause rather than the symptom: this upgrades the code to use the new, recommended JSX transform mode of React 17+, which no longer requires you to import React manually just to write JSX.
15 lines
533 B
TypeScript
15 lines
533 B
TypeScript
import { FC } from "react";
|
|
import { Trans } from "react-i18next";
|
|
|
|
import { Link } from "../typography/Typography";
|
|
|
|
export const AnalyticsNotice: FC = () => (
|
|
<Trans>
|
|
By participating in this beta, you consent to the collection of anonymous
|
|
data, which we use to improve the product. You can find more information
|
|
about which data we track in our{" "}
|
|
<Link href="https://element.io/privacy">Privacy Policy</Link> and our{" "}
|
|
<Link href="https://element.io/cookie-policy">Cookie Policy</Link>.
|
|
</Trans>
|
|
);
|