diff --git a/src/data/blob.ts b/src/data/blob.ts index ceecd934..b5ca1dca 100644 --- a/src/data/blob.ts +++ b/src/data/blob.ts @@ -356,7 +356,7 @@ export const getFileHandle = async ( }; /** - * attemps to detect if a buffer is a valid image by checking its leading bytes + * attempts to detect if a buffer is a valid image by checking its leading bytes */ const getActualMimeTypeFromImage = (buffer: ArrayBuffer) => { let mimeType: ValueOf> | null = @@ -396,7 +396,7 @@ export const createFile = ( }); }; -/** attemps to detect correct mimeType if none is set, or if an image +/** attempts to detect correct mimeType if none is set, or if an image * has an incorrect extension. * Note: doesn't handle missing .excalidraw/.excalidrawlib extension */ export const normalizeFile = async (file: File) => {