Skip to content

Commit

Permalink
fix(web): add Promise.withResolvers polyfill (#7003)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brooooooklyn committed May 22, 2024
1 parent 96cdb04 commit 2783361
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/frontend/web/src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import './polyfill/dispose';
import './polyfill/intl-segmenter';
import './polyfill/promise-with-resolvers';
import './polyfill/request-idle-callback';
import '@affine/core/bootstrap/preload';

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import 'core-js/features/promise/with-resolvers';
1 change: 1 addition & 0 deletions tools/commitlint/.commitlintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"electron",
"server",
"core",
"web",
"docs",
"storybook",
"component",
Expand Down

0 comments on commit 2783361

Please sign in to comment.