Skip to content

Commit

Permalink
fix timeout loader
Browse files Browse the repository at this point in the history
  • Loading branch information
Boutzi committed Oct 23, 2024
1 parent 3ec4328 commit 2ec68b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/ProgressBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export function ProgressBar({ onComplete }: ProgressBarProps) {
start = performance.now();

const updateProgress = (currentTime: number) => {
const elapsed = (currentTime - start) / 1000;
const elapsed = (currentTime - start) / 1500;
const newProgress = Math.min((elapsed / 1) * 100, 100);
setProgress(newProgress);

Expand Down

0 comments on commit 2ec68b3

Please sign in to comment.