From d9b471550cf6fef1603d3cc71652b338779a4699 Mon Sep 17 00:00:00 2001 From: SAY-5 Date: Wed, 15 Apr 2026 10:18:58 -0700 Subject: [PATCH] Fix 'occured' -> 'occurred' typo in sanddance-app download click-handler comment Inline comment in packages/sanddance-app/src/download.ts explaining why the click handler is attached to the download trigger used 'occured'. Doc-only TypeScript comment change. --- packages/sanddance-app/src/download.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/sanddance-app/src/download.ts b/packages/sanddance-app/src/download.ts index 936f3ce72..c40128dbc 100644 --- a/packages/sanddance-app/src/download.ts +++ b/packages/sanddance-app/src/download.ts @@ -11,7 +11,7 @@ export function downloadData(data: any, fileName: string) { const blob = dataURIToBlob(data); a.href = URL.createObjectURL(blob); // we must revoke the object URL, - // since we can't know when the download occured, we have to attach it on the click handler.. + // since we can't know when the download occurred, we have to attach it on the click handler.. a.onclick = () => { // ..and to wait a frame requestAnimationFrame(() => URL.revokeObjectURL(a.href));