small improvements

This commit is contained in:
daniel31x13
2024-05-16 15:50:43 -04:00
parent f68ca100a1
commit 142af9b5c0
3 changed files with 21 additions and 7 deletions
@@ -26,11 +26,17 @@ export default function EmailChangeVerificationModal({
<div className="flex flex-col gap-5">
<p>
Please confirm your password before changing your email address.{" "}
{process.env.NEXT_PUBLIC_STRIPE === "true"
? "Updating this field will change your billing email on Stripe as well."
: undefined}
{process.env.NEXT_PUBLIC_STRIPE === "true" &&
"Updating this field will change your billing email on Stripe as well."}
</p>
{process.env.NEXT_PUBLIC_GOOGLE_ENABLED === "true" && (
<p>
If you change your email address, any existing Google SSO
connections will be removed.
</p>
)}
<div>
<p>Old Email</p>
<p className="text-neutral">{oldEmail}</p>