Skip to content

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

Remove unnecessary ?

Joshen Lim6eaa1e281854
diff --git a/studio/components/interfaces/Support/SupportForm.tsx b/studio/components/interfaces/Support/SupportForm.tsx
index e9e44c4a9ae..54d68cc43e2 100644
--- a/studio/components/interfaces/Support/SupportForm.tsx
+++ b/studio/components/interfaces/Support/SupportForm.tsx
@@ -93,7 +93,7 @@ const SupportForm = ({ setSentCategory }: SupportFormProps) => {
const projects = [...(allProjects ?? []), ...projectDefaults]
const selectedProjectFromUrl = projects.find((project) => project.ref === ref)
const selectedCategoryFromUrl = CATEGORY_OPTIONS.find((option) => {
- if (option.value?.toLowerCase() === ((category as string) ?? '').toLowerCase()) return option
+ if (option.value.toLowerCase() === ((category as string) ?? '').toLowerCase()) return option
})
const [selectedProjectRef, setSelectedProjectRef] = useState(