From 7922ce129e569f0abed54158deba15506415af15 Mon Sep 17 00:00:00 2001 From: Ikko Ashimine Date: Mon, 12 Sep 2022 06:50:51 +0900 Subject: [PATCH] chore: fix typo in blob.ts (#5664) Co-authored-by: David Luzar --- src/data/blob.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) => {