Skip to content

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

deconstruct initialValues

Joshen Limf1fc50c0e1b0
diff --git a/studio/components/interfaces/Support/SupportForm.tsx b/studio/components/interfaces/Support/SupportForm.tsx
index b711f15d6b8..c7ad4be7347 100644
--- a/studio/components/interfaces/Support/SupportForm.tsx
+++ b/studio/components/interfaces/Support/SupportForm.tsx
@@ -278,14 +278,11 @@ const SupportForm = ({ setSentCategory }: SupportFormProps) => {
useEffect(() => {
if (isReady) {
const updatedValues = {
+ ...initialValues,
projectRef: ref ?? initialValues.projectRef,
subject: subject ?? initialValues.subject,
category: selectedCategoryFromUrl?.value ?? initialValues.category,
message: message ?? initialValues.message,
- severity: initialValues.severity,
- allowSupportAccess: false,
- library: 'no-library',
- organizationSlug: selectedOrganizationSlug,
}
resetForm({ values: updatedValues, initialValues: updatedValues })
}