mirror of
https://github.com/mue/mue.git
synced 2026-07-16 13:34:03 +02:00
feat: locally store stats so users can see them (no ui yet)
This commit is contained in:
@@ -13,7 +13,7 @@ export default class ErrorBoundary extends React.PureComponent {
|
||||
|
||||
static getDerivedStateFromError(error) {
|
||||
console.log(error);
|
||||
window.analytics.postEvent('modal', 'Error occurred');
|
||||
window.stats.postEvent('modal', 'Error occurred');
|
||||
return {
|
||||
error: true
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user