diff --git a/src/utils.ts b/src/utils.ts index 5a63160..99a87b1 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -10,6 +10,7 @@ const generateThumbnail = async (f: File): Promise => { const [sw, sh] = [125, 125]; const url = URL.createObjectURL(f); + let source: CanvasImageSource; let iw: number, ih: number;