Skip to content

Free & Open-Source Invoice Generator - No Sign-Up, No Ads, Instant PDF Export, 100% In-Browser, and Fully Customizable Templates.

fix: update CTA toast display timer from 7 seconds to 15 seconds for improved user engagement

VladSezfe71cb903ce6
diff --git a/src/app/[locale]/about/components/landing-cta-toast.tsx b/src/app/[locale]/about/components/landing-cta-toast.tsx
index 6b72acd..d230e3b 100644
--- a/src/app/[locale]/about/components/landing-cta-toast.tsx
+++ b/src/app/[locale]/about/components/landing-cta-toast.tsx
@@ -43,8 +43,8 @@ export const LandingCtaToast = () => {
}
};
- // Show cta toast after 7 seconds on the page
- const initialTimer = setTimeout(showCTAToast, 7_000);
+ // Show cta toast after 15 seconds on the page
+ const initialTimer = setTimeout(showCTAToast, 15_000);
return () => {
clearTimeout(initialTimer);