We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be643db commit 0ed6b94Copy full SHA for 0ed6b94
src/internal/scheduler/AnimationFrameScheduler.ts
@@ -14,8 +14,8 @@ export class AnimationFrameScheduler extends AsyncScheduler {
14
// scheduled to be executed in a subsequent flush into positions at which
15
// they are executed within the current flush.
16
let flushId;
17
- if (action?.id) {
18
- flushId = action?.id;
+ if (action) {
+ flushId = action.id;
19
} else {
20
flushId = this._scheduled;
21
this._scheduled = undefined;
0 commit comments