Skip to content

Commit d43ba71

Browse files
committed
fix: update downloadbase64
1 parent 4c6c102 commit d43ba71

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tools/pdf-linearize/pdf-linearize.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script setup lang="ts">
22
import { Base64 } from 'js-base64';
33
import createQPDFModule from 'qpdf-wasm-esm-embedded';
4-
import { useDownloadFileFromBase64Refs } from '@/composable/downloadBase64';
4+
import { useDownloadFileFromBase64 } from '@/composable/downloadBase64';
55
66
const status = ref<'idle' | 'done' | 'error' | 'processing'>('idle');
77
const file = ref<File | null>(null);
@@ -10,7 +10,7 @@ const base64OutputPDF = ref('');
1010
const logs = ref<string[]>([]);
1111
const fileName = ref('');
1212
const fileExtension = ref('pdf');
13-
const { download } = useDownloadFileFromBase64Refs(
13+
const { download } = useDownloadFileFromBase64(
1414
{
1515
source: base64OutputPDF,
1616
filename: fileName,

0 commit comments

Comments
 (0)