Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
bistaastha committed Jan 6, 2025
1 parent cb5f14c commit 4ffbfcf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/fyle/spender-onboarding/spender-onboarding.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,11 @@ export class SpenderOnboardingPage {
}

startCountdown(): void {
setInterval(() => {
const interval = setInterval(() => {
if (this.redirectionCount > 0) {
this.redirectionCount--;
} else {
clearInterval(interval);
this.router.navigate(['/', 'enterprise', 'my_dashboard']);
}
}, 1000);
Expand Down

0 comments on commit 4ffbfcf

Please sign in to comment.