Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Update SupportForm.tsx

Rodrigo Mansueli Nunes35ed6230f2bf
diff --git a/studio/components/interfaces/Support/SupportForm.tsx b/studio/components/interfaces/Support/SupportForm.tsx
index 5b910242968..460fca68074 100644
--- a/studio/components/interfaces/Support/SupportForm.tsx
+++ b/studio/components/interfaces/Support/SupportForm.tsx
@@ -198,7 +198,7 @@ const SupportForm: FC<Props> = ({ setSentCategory }) => {
const isDisabled =
!enableFreeSupport &&
isFreeProject &&
- ['Performance', 'Problem', 'Best-practice'].includes(values.category)
+ ['Performance', 'Problem'].includes(values.category)
useEffect(() => {
if (selectedProject && !selectedProject.subscription_tier) {
@@ -327,13 +327,6 @@ const SupportForm: FC<Props> = ({ setSentCategory }) => {
</>
)} */}
- {values.category === 'Best_practices' && (
- <>
- <BestPracticesGuidance />
- <Divider light />
- </>
- )}
-
{!isDisabled ? (
<>
<div className="px-6">
@@ -526,7 +519,7 @@ const SupportForm: FC<Props> = ({ setSentCategory }) => {
</div>
</div>
</>
- ) : ['Problem', 'Best_practices', 'Performance'].includes(values.category) ? (
+ ) : ['Problem', 'Performance'].includes(values.category) ? (
<DisabledStateForFreeTier
category={selectedCategory?.label ?? ''}
projectRef={values.projectRef}