diff --git a/frontend/src/pages/Contract/index.tsx b/frontend/src/pages/Contract/index.tsx
index df10c70..4dfaf0d 100644
--- a/frontend/src/pages/Contract/index.tsx
+++ b/frontend/src/pages/Contract/index.tsx
@@ -343,8 +343,8 @@ export function Contract() {
{
- URL.revokeObjectURL(pdfUrl);
- close();
- }}
+ onClose={close}
size={"55rem"}
title={t("contract recap", { capfirst: true })}
>
@@ -52,7 +49,7 @@ export function ContractRecap({ opened, close, contractName, pdfUrl }: ContractR
onSubmit={form.onSubmit(() => {
const link = document.createElement("a");
link.href = pdfUrl;
- link.download = contractName || "contract";
+ link.download = contractName;
link.click();
})}
>