From e9cac9667996e68a49236137aa1f24a82cc4f9e9 Mon Sep 17 00:00:00 2001 From: ochafik Date: Tue, 28 Mar 2023 19:11:59 +0100 Subject: [PATCH] Fix download! (typo) --- src/components/Footer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx index f0aa477..c7df507 100644 --- a/src/components/Footer.tsx +++ b/src/components/Footer.tsx @@ -31,7 +31,7 @@ function downloadOutput(state: State) { message: "This model references the $preview variable but hasn't been rendered (F6), or its rendering is stale. You're about to download the preview result itself, which may not have the intended refinement of the render. Sure you want to proceed?", header: 'Preview vs. Render', icon: 'pi pi-exclamation-triangle', - accept: () => doDownload, + accept: doDownload, acceptLabel: `Download ${fileName}`, rejectLabel: 'Cancel' // reject: () => {}