Skip to content

Commit

Permalink
fix: refacto 3
Browse files Browse the repository at this point in the history
  • Loading branch information
marlenetienne committed Feb 19, 2025
1 parent 83622a3 commit a88e05d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/shared/services/progressService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ const simulateProgress = async (duration: number, onProgress: (value: number) =>
if (!startTime) startTime = timestamp;
const elapsed = timestamp - startTime;
const progress = Math.min((elapsed / duration) * 100, 100);
// progressElement.style.width = progress + '%';
// progressElement.textContent = Math.floor(progress) + '%';
onProgress(progress);

if (progress < 100) {
Expand Down

0 comments on commit a88e05d

Please sign in to comment.