Trick Facebook container extension to disable tracking warning, see issue https://github.com/mozilla/contain-facebook/issues/783

This commit is contained in:
Paul 2021-08-02 13:14:10 +01:00
parent 61680fe386
commit f465a8d81f

View file

@ -40,6 +40,8 @@ export default function FormField({
? "password" ? "password"
: type : type
} }
// See https://github.com/mozilla/contain-facebook/issues/783
className="fbc-has-badge"
ref={register( ref={register(
type === "password" || type === "current_password" type === "password" || type === "current_password"
? { ? {