Skip to content

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

Show email that support will email

Long Hoang0dc742119835
diff --git a/studio/components/interfaces/Support/SupportForm.tsx b/studio/components/interfaces/Support/SupportForm.tsx
index 8ced4d5c71d..8a0f044781e 100644
--- a/studio/components/interfaces/Support/SupportForm.tsx
+++ b/studio/components/interfaces/Support/SupportForm.tsx
@@ -47,6 +47,7 @@ const SupportForm: FC<Props> = ({ setSentCategory }) => {
const [uploadedFiles, setUploadedFiles] = useState<File[]>([])
const [uploadedDataUrls, setUploadedDataUrls] = useState<string[]>([])
const [selectedServices, setSelectedServices] = useState<string[]>([])
+ const [respondToEmail, setRespondToEmail] = useState<string>('')
// Get all orgs and projects from global store
const sortedOrganizations = app.organizations.list()
@@ -75,6 +76,12 @@ const SupportForm: FC<Props> = ({ setSentCategory }) => {
}
}, [uploadedFiles])
+ useEffect(() => {
+ get(`${API_URL}/profile`).then((data) => {
+ setRespondToEmail(data.primary_email)
+ })
+ }, [respondToEmail])
+
if (!isInitialized) {
return (
<div className="w-[622px] py-48">
@@ -576,6 +583,11 @@ const SupportForm: FC<Props> = ({ setSentCategory }) => {
</div>
</div>
<div className="px-6">
+ <div className="flex justify-end">
+ <p className="block text-sm text-scale-1000 mt-0 mb-2">
+ We will contact you at {respondToEmail}.
+ </p>
+ </div>
<div className="flex justify-end">
<Button
htmlType="submit"