Track dialogs

This commit is contained in:
Gregory Schier
2024-01-28 16:33:36 -08:00
parent 2983f2544d
commit 650aa240ea
29 changed files with 111 additions and 89 deletions

View File

@@ -39,6 +39,6 @@ export function useSendAnyRequest(options: { download?: boolean } = {}) {
});
},
onSettled: () => trackEvent('HttpRequest', 'Send'),
onError: (err) => alert({ title: 'Export Failed', body: err }),
onError: (err) => alert({ id: 'send-failed', title: 'Send Failed', body: err }),
});
}