mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 22:36:31 +08:00
skip
This commit is contained in:
parent
b69f0e5e97
commit
5b924bd938
@ -19,8 +19,18 @@ if (typeof window !== 'undefined' && navigator.serviceWorker) {
|
||||
});
|
||||
}
|
||||
|
||||
LogRocket.init('kpuw4z/ant-design');
|
||||
setupLogRocketReact(LogRocket);
|
||||
window.addEventListener('error', function(e) {
|
||||
// Ignore ResizeObserver error
|
||||
if (e.message === 'ResizeObserver loop limit exceeded') {
|
||||
e.stopPropagation();
|
||||
e.stopImmediatePropagation();
|
||||
}
|
||||
});
|
||||
|
||||
if (process.env.NODE_ENV === 'production') {
|
||||
LogRocket.init('kpuw4z/ant-design');
|
||||
setupLogRocketReact(LogRocket);
|
||||
}
|
||||
|
||||
if (typeof window !== 'undefined') {
|
||||
/* eslint-disable global-require */
|
||||
|
Loading…
Reference in New Issue
Block a user