chore: remove explicit email and phone inline blocks in favor of automatic obfuscation
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 14s
Build & Deploy / 🧪 QA (push) Successful in 3m46s
Build & Deploy / 🏗️ Build (push) Successful in 3m58s
Build & Deploy / 🚀 Deploy (push) Successful in 15s
Build & Deploy / 🔔 Notify (push) Has been cancelled
Build & Deploy / 🧪 Post-Deploy Verification (push) Has been cancelled
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 14s
Build & Deploy / 🧪 QA (push) Successful in 3m46s
Build & Deploy / 🏗️ Build (push) Successful in 3m58s
Build & Deploy / 🚀 Deploy (push) Successful in 15s
Build & Deploy / 🔔 Notify (push) Has been cancelled
Build & Deploy / 🧪 Post-Deploy Verification (push) Has been cancelled
This commit is contained in:
@@ -1111,14 +1111,6 @@ const jsxConverters: JSXConverters = {
|
||||
<CTA data={node?.fields} />
|
||||
</Reveal>
|
||||
),
|
||||
'block-email': ({ node }: any) => {
|
||||
const { email, label } = node.fields;
|
||||
return <ObfuscatedEmail email={email}>{label || email}</ObfuscatedEmail>;
|
||||
},
|
||||
'block-phone': ({ node }: any) => {
|
||||
const { phone, label } = node.fields;
|
||||
return <ObfuscatedPhone phone={phone}>{label || phone}</ObfuscatedPhone>;
|
||||
},
|
||||
},
|
||||
// Custom converter for the Payload "upload" Lexical node (Media collection)
|
||||
// This natively reconstructs Next.js <Image /> tags pointing to the focal-point cropped sizes
|
||||
|
||||
Reference in New Issue
Block a user