mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-13 14:35:33 +10:00
fixing the pdf downloader in offline mode (#2743)
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@ export function downloadWithAnchor(blob: Blob, filename: string) {
|
||||
a.click();
|
||||
document.body.removeChild(a);
|
||||
|
||||
setTimeout(() => URL.revokeObjectURL(url), 500);
|
||||
setTimeout(() => URL.revokeObjectURL(url), 5000);
|
||||
}
|
||||
|
||||
export async function downloadFromUrl(url: string, filename: string) {
|
||||
|
||||
Reference in New Issue
Block a user