mirror of
https://github.com/supabase/supabase.git
synced 2026-10-15 06:09:08 +03:00
add breadcrumb to support ticket
This commit is contained in:
1 parent
5a8373d505
commit
a31f3cb465
1 file changed
+9
@@ -149,6 +149,15 @@ export const SupportFormV2 = ({
|
||||
|
||||
const { mutate: submitSupportTicket } = useSendSupportTicketMutation({
|
||||
onSuccess: (res, variables) => {
|
||||
Sentry.addBreadcrumb({
|
||||
category: 'support-request-sent',
|
||||
message: 'Support request sent',
|
||||
data: {
|
||||
result: res.result,
|
||||
...variables,
|
||||
},
|
||||
level: 'info',
|
||||
})
|
||||
toast.success('Support request sent. Thank you!')
|
||||
setSentCategory(variables.category)
|
||||
sendEvent({
|
||||
|
||||
Reference in new issue
Block a user