fix: flash bug on tag (#12332)

* fix flash bug on tag

* fix lint

---------

Co-authored-by: Alex <alex.tran1502@gmail.com>
This commit is contained in:
Min Idzelis 2024-09-05 07:29:07 -07:00 committed by GitHub
parent 27e283e724
commit d7d3b8dfec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 79 additions and 54 deletions

View file

@ -315,7 +315,7 @@ class IntersectionTask {
return { task: execTask, cleanup };
}
trackSeperatedTask(componentId: string, task: Task) {
trackSeparatedTask(componentId: string, task: Task) {
const execTask = () => {
if (this.intersected) {
return;
@ -363,7 +363,7 @@ class IntersectionTask {
return;
}
const { task, cleanup } = this.trackSeperatedTask(componentId, separated);
const { task, cleanup } = this.trackSeparatedTask(componentId, separated);
this.internalTaskManager.queueSeparateTask({
task,
cleanup,