Skip to content

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

chore: improve tooltip content for invoice link generation and regenerate invoice button

VladSez9e1503554997
diff --git a/src/app/components/regenerate-invoice-button.tsx b/src/app/components/regenerate-invoice-button.tsx
index 9c41154..8afd00d 100644
--- a/src/app/components/regenerate-invoice-button.tsx
+++ b/src/app/components/regenerate-invoice-button.tsx
@@ -58,11 +58,11 @@ export function RegenerateInvoiceButton({
<span className="animate-pulse">{LOADING_BUTTON_TEXT}</span>
</span>
) : (
- "Regenerate invoice"
+ "Regenerate Invoice"
)}
</Button>
}
- content={isLoading ? null : "Manually regenerate invoice"}
+ content={isLoading ? null : "Click to regenerate the invoice PDF preview"}
/>
);
}
diff --git a/src/app/page.tsx b/src/app/page.tsx
index 09bfaaf..ddb50ca 100644
--- a/src/app/page.tsx
+++ b/src/app/page.tsx
@@ -282,7 +282,7 @@ export default function Home() {
Generate a link to invoice
</Button>
}
- content="Share invoice with a link"
+ content="Generate a shareable link to this invoice. Share it with your clients to allow them to view the invoice online."
/>
{isDesktop ? (
<InvoicePDFDownloadLink invoiceData={invoiceDataState} />