From ad77cec0082660af727502f2c46c9110baab044a Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Thu, 27 Jun 2024 10:16:34 +0200 Subject: [PATCH] Removed unused type field - this is no longer used and causes a React warning because we end up passing it to a textarea --- apps/admin-x-design-system/src/global/form/TextArea.tsx | 1 - .../settings/growth/embedSignup/EmbedSignupSidebar.tsx | 1 - .../growth/recommendations/RecommendationDescriptionForm.tsx | 1 - .../settings/membership/stripe/StripeConnectModal.tsx | 2 +- 4 files changed, 1 insertion(+), 4 deletions(-) diff --git a/apps/admin-x-design-system/src/global/form/TextArea.tsx b/apps/admin-x-design-system/src/global/form/TextArea.tsx index 6a3c1e3b66..5bda018ca5 100644 --- a/apps/admin-x-design-system/src/global/form/TextArea.tsx +++ b/apps/admin-x-design-system/src/global/form/TextArea.tsx @@ -18,7 +18,6 @@ export interface TextAreaProps extends HTMLProps { error?: boolean; placeholder?: string; hint?: React.ReactNode; - clearBg?: boolean; fontStyle?: FontStyles; className?: string; onChange?: (event: React.ChangeEvent) => void; diff --git a/apps/admin-x-settings/src/components/settings/growth/embedSignup/EmbedSignupSidebar.tsx b/apps/admin-x-settings/src/components/settings/growth/embedSignup/EmbedSignupSidebar.tsx index 508d284974..2c9945f889 100644 --- a/apps/admin-x-settings/src/components/settings/growth/embedSignup/EmbedSignupSidebar.tsx +++ b/apps/admin-x-settings/src/components/settings/growth/embedSignup/EmbedSignupSidebar.tsx @@ -129,7 +129,6 @@ const EmbedSignupSidebar: React.FC = ({selectedLayout, /> + {submitEnabled &&