diff --git a/ee/components/LicenseBanner.tsx b/ee/components/LicenseBanner.tsx index 8a9373de..34e79bf1 100644 --- a/ee/components/LicenseBanner.tsx +++ b/ee/components/LicenseBanner.tsx @@ -1,12 +1,16 @@ import { XIcon } from "@heroicons/react/outline"; import { BadgeCheckIcon } from "@heroicons/react/solid"; +import { Trans } from "react-i18next"; + +import { useLocale } from "@lib/hooks/useLocale"; import { Dialog, DialogTrigger } from "@components/Dialog"; import ConfirmationDialogContent from "@components/dialog/ConfirmationDialogContent"; export default function LicenseBanner() { + const { t } = useLocale(); /* - Set this value to 'agree' to accept our license: + Set this value to 'agree' to accept our license: LICENSE: https://github.com/calendso/calendso/blob/main/LICENSE Summary of terms: @@ -30,9 +34,11 @@ export default function LicenseBanner() {
- Accept our license by changing the .env variable{" "}
- NEXT_PUBLIC_LICENSE_CONSENT to
- 'agree'.
+