Skip to content

Commit

Permalink
refactor(slide): do not render slide 1 on timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
hyrious committed Jan 30, 2024
1 parent 4671bd7 commit 0c0cfe3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/app-slide/src/SlideController/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,7 @@ export class SlideController {
setTimeout(this.pollReadyState, 500);
} else {
this.pollCount = 0;
log("[Slide] renderSlide 1 (retry after timeout)");
this.slide.renderSlide(1);
log("[Slide] init timeout");
}
};

Expand Down

0 comments on commit 0c0cfe3

Please sign in to comment.