mirror of
https://github.com/mue/mue.git
synced 2026-07-17 22:14:13 +02:00
feat: add opt-in umami analytics (WIP)
This commit is contained in:
@@ -13,6 +13,7 @@ export default class ErrorBoundary extends React.PureComponent {
|
||||
|
||||
static getDerivedStateFromError(error) {
|
||||
console.log(error);
|
||||
window.analytics.postEvent('modalUpdate', 'Error occurred');
|
||||
return {
|
||||
error: true
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user