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 timer duration and enhance message in InvoicePDFDownloadLink

VladSezf309d68c4dc3
diff --git a/src/app/(app)/components/invoice-pdf-download-link.tsx b/src/app/(app)/components/invoice-pdf-download-link.tsx
index 588f5e3..f6aa69e 100644
--- a/src/app/(app)/components/invoice-pdf-download-link.tsx
+++ b/src/app/(app)/components/invoice-pdf-download-link.tsx
@@ -120,7 +120,7 @@ export function InvoicePDFDownloadLink({
id: "default-donation-toast",
title: "Love this project?",
description:
- "Help me keep building amazing tools! Your support means the world to me. ✨",
+ "Your support helps me keep this free tool running and build even better features! 🙏",
});
}
}, 2500);
diff --git a/src/app/(app)/page.client.tsx b/src/app/(app)/page.client.tsx
index 55b4c67..a986f3e 100644
--- a/src/app/(app)/page.client.tsx
+++ b/src/app/(app)/page.client.tsx
@@ -294,8 +294,8 @@ export function AppPageClient() {
return;
}
- // Show cta toast after 25 seconds on the app page
- const initialTimer = setTimeout(showCTAToast, 25_000);
+ // Show cta toast after 15 seconds on the app page
+ const initialTimer = setTimeout(showCTAToast, 15_000);
return () => {
clearTimeout(initialTimer);