From 428e759cdbef3f16356801f4ed8f577d495d6cbb Mon Sep 17 00:00:00 2001 From: Travis Van Couvering Date: Mon, 28 Oct 2024 12:35:10 -0700 Subject: [PATCH] Remove call to deprecated `jQuery.trim()` --- docs/src/components/Examples/EmailContact.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/components/Examples/EmailContact.js b/docs/src/components/Examples/EmailContact.js index 6eabc95f0..d45b89222 100644 --- a/docs/src/components/Examples/EmailContact.js +++ b/docs/src/components/Examples/EmailContact.js @@ -75,7 +75,7 @@ export default function EmailContact() { if (match) { return { email: match[2], - name: $.trim(match[1]), + name: match[1].trim(), }; } alert("Invalid email address."); @@ -168,7 +168,7 @@ $("#select-to").selectize({ if (match) { return { email: match[2], - name: $.trim(match[1]), + name: match[1].trim(), }; } alert("Invalid email address.");