mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
fix(core): use ResizeObserver polyfill (#6360)
- Close https://github.com/toeverything/AFFiNE/issues/6359
This commit is contained in:
@@ -4,7 +4,6 @@ import '@affine/core/bootstrap/preload';
|
||||
import { appConfigProxy } from '@affine/core/hooks/use-app-config-storage';
|
||||
import { performanceLogger } from '@affine/core/shared';
|
||||
import { apis, events } from '@affine/electron-api';
|
||||
import { ResizeObserver } from '@juggle/resize-observer';
|
||||
import { init, replayIntegration, setTags } from '@sentry/electron/renderer';
|
||||
import {
|
||||
init as reactInit,
|
||||
@@ -22,8 +21,6 @@ import {
|
||||
|
||||
import { App } from './app';
|
||||
|
||||
window.ResizeObserver = ResizeObserver;
|
||||
|
||||
const performanceMainLogger = performanceLogger.namespace('main');
|
||||
function main() {
|
||||
performanceMainLogger.info('start');
|
||||
|
||||
Reference in New Issue
Block a user