fix: remove template string to fix interpolation (#1736)

Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
This commit is contained in:
Arthur Denner 2022-02-08 23:44:49 +01:00 committed by GitHub
parent 20d2955e68
commit 1e9234ea67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@ export default function LicenseBanner() {
<p className="ml-3 font-medium text-white truncate">
<span className="inline">
<Trans i18nKey="accept_our_license" values={{ agree: "agree" }}>
Accept our license by changing the .env variable{" "}
Accept our license by changing the .env variable
<span className="px-1 bg-gray-50 bg-opacity-20">NEXT_PUBLIC_LICENSE_CONSENT</span> to
&apos;agree&apos;.
</Trans>
@ -77,7 +77,7 @@ export default function LicenseBanner() {
confirmBtnText={t("env_changed")}
cancelBtnText={t("cancel")}>
<Trans i18nKey="remove_banner_instructions" values={{ agree: "agree" }}>
To remove this banner, please open your .env file and change the{" "}
To remove this banner, please open your .env file and change the
<span className="bg-green-400 text-green-500 bg-opacity-20 p-[2px]">
NEXT_PUBLIC_LICENSE_CONSENT
</span>{" "}