Skip to content

The Open Source DocuSign Alternative.

prop name changed 📛

Ansari8bf6594cf41a
diff --git a/packages/ui/components/dialog/Dialog.tsx b/packages/ui/components/dialog/Dialog.tsx
index 23a4821d1..c1244394a 100644
--- a/packages/ui/components/dialog/Dialog.tsx
+++ b/packages/ui/components/dialog/Dialog.tsx
@@ -19,7 +19,7 @@ type DialogProps = {
formValues: FormValue[];
setLoading: (loading: boolean) => void;
icon: React.ReactNode;
- trunate: boolean;
+ trunateTitle: boolean;
};
export function Dialog({
@@ -30,13 +30,13 @@ export function Dialog({
formValues,
setLoading,
icon,
- trunate = true,
+ trunateTitle = true,
}: DialogProps) {
const unsentEmailsLength = formValues.filter(
(s: any) => s.email && s.sendStatus != "SENT"
).length;
- if (trunate && document.title.length > 20) {
+ if (trunateTitle && document.title.length > 20) {
document.title = document.title.substring(0, 7) + "..." +
document.title.substring(document.title.length - 7);
}