import Link from 'next/link' import { FC, useState } from 'react' import { Button, IconCheck, IconExternalLink, IconMail, IconSearch, Input } from 'ui' import Divider from 'components/ui/Divider' import { CATEGORY_OPTIONS } from './Support.constants' interface Props { sentCategory?: string } const Success: FC = ({ sentCategory = '' }) => { const categoriesToShowAdditionalResources = ['Problem', 'Unresponsive', 'Performance'] const selectedCategory = CATEGORY_OPTIONS.find((option) => option.value === sentCategory) const [searchValue, setSearchValue] = useState(selectedCategory?.query ?? '') return (

Support request successfully sent!

We will reach out to you using your account's email address

{categoriesToShowAdditionalResources.includes(sentCategory) && ( <>

In the meantime, tap into our community

Find the answers you need with fellow developers building with Supabase by joining our GitHub discussions or on Discord - build the next best thing together

setSearchValue(e.target.value)} icon={} actions={[ , ]} />
)}
) } export default Success