fix negative values on contract and previsualisation blob
All checks were successful
Deploy Amap / deploy (push) Successful in 2m12s

This commit is contained in:
2026-10-14 21:53:41 +02:00
parent c2d4d6ced9
commit f1b924b4ba
2 changed files with 5 additions and 2 deletions

View File

@@ -34,7 +34,10 @@ export function ContractRecap({ opened, close, pdfUrl }: ContractRecapProps) {
return (
<Modal
opened={opened}
onClose={close}
onClose={() => {
URL.revokeObjectURL(pdfUrl);
close();
}}
size={"55rem"}
title={t("contract recap", { capfirst: true })}
>
@@ -50,7 +53,6 @@ export function ContractRecap({ opened, close, pdfUrl }: ContractRecapProps) {
link.href = pdfUrl;
link.target = "_blank";
link.click();
URL.revokeObjectURL(pdfUrl);
})}
>
<Stack>