From 07d572f619a72ae1d01b73da652eb16ae525e11b Mon Sep 17 00:00:00 2001 From: wwayne Date: Fri, 29 Mar 2024 18:36:15 +0800 Subject: [PATCH] format --- ee/tabby-ui/app/(dashboard)/profile/components/avatar.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ee/tabby-ui/app/(dashboard)/profile/components/avatar.tsx b/ee/tabby-ui/app/(dashboard)/profile/components/avatar.tsx index a43a321653a5..19cc8210910b 100644 --- a/ee/tabby-ui/app/(dashboard)/profile/components/avatar.tsx +++ b/ee/tabby-ui/app/(dashboard)/profile/components/avatar.tsx @@ -37,7 +37,9 @@ export const Avatar = () => { if (file) { const fileSizeInKB = parseFloat((file.size / 1024).toFixed(2)) if (fileSizeInKB > MAX_UPLOAD_SIZE_KB) { - return toast.error(`The image you are attempting to upload is too large. Please ensure the file size is under ${MAX_UPLOAD_SIZE_KB}KB and try again.`) + return toast.error( + `The image you are attempting to upload is too large. Please ensure the file size is under ${MAX_UPLOAD_SIZE_KB}KB and try again.` + ) } const reader = new FileReader()