From b7f916c4dfcc55d3cb84ab4d8a82a432ab6f6b8b Mon Sep 17 00:00:00 2001 From: Anish Sarkar <104695310+AnishSarkar22@users.noreply.github.com> Date: Fri, 3 Apr 2026 17:24:34 +0530 Subject: [PATCH] chore: ran linting --- .../components/sources/DocumentUploadTab.tsx | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/surfsense_web/components/sources/DocumentUploadTab.tsx b/surfsense_web/components/sources/DocumentUploadTab.tsx index dcafe62ba..2d70a4e1a 100644 --- a/surfsense_web/components/sources/DocumentUploadTab.tsx +++ b/surfsense_web/components/sources/DocumentUploadTab.tsx @@ -470,9 +470,7 @@ export function DocumentUploadTab({

{isElectron ? "Select files or folder" : "Tap to select files or folder"}

-

- {t("file_size_limit")} -

+

{t("file_size_limit")}

e.stopPropagation()}> {renderBrowseButton({ fullWidth: true })} @@ -490,9 +488,7 @@ export function DocumentUploadTab({
- {isDragActive - ? t("drop_files") - : t("drag_drop_more")} + {isDragActive ? t("drop_files") : t("drag_drop_more")} {renderBrowseButton({ compact: true })}
@@ -505,9 +501,7 @@ export function DocumentUploadTab({

{t("drag_drop")}

-

- {t("file_size_limit")} -

+

{t("file_size_limit")}

{renderBrowseButton()}
)} @@ -578,7 +572,9 @@ export function DocumentUploadTab({

- {t("selected_files", { count: files.length })}{formatFileSize(totalFileSize)} + {t("selected_files", { count: files.length })} + + {formatFileSize(totalFileSize)}