Track dialogs

This commit is contained in:
Gregory Schier
2024-01-28 16:33:36 -08:00
parent 15714ae188
commit fb11aff03f
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 }),
});
}