Skip to content

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

Fix the default values for two properties to be empty strings.

Ivan Vasilov7577ed242dc7
diff --git a/studio/components/interfaces/Support/SupportForm.tsx b/studio/components/interfaces/Support/SupportForm.tsx
index 614b49cd147..d7b925dcffc 100644
--- a/studio/components/interfaces/Support/SupportForm.tsx
+++ b/studio/components/interfaces/Support/SupportForm.tsx
@@ -279,9 +279,9 @@ const SupportForm = ({ setSentCategory }: SupportFormProps) => {
if (isReady) {
const updatedValues = {
projectRef: ref,
- subject,
+ subject: subject ?? '',
category: selectedCategoryFromUrl?.value,
- message,
+ message: message ?? '',
}
resetForm({ values: updatedValues, initialValues: updatedValues })
}