Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

fix: lint error

mykh-hailo2837f8b084b3
diff --git a/web-app/src/containers/ChatInput.tsx b/web-app/src/containers/ChatInput.tsx
index df5c23511..e6c0021b4 100644
--- a/web-app/src/containers/ChatInput.tsx
+++ b/web-app/src/containers/ChatInput.tsx
@@ -941,8 +941,8 @@ const ChatInput = memo(function ChatInput({
}
}
- let duplicates: string[] = []
- let newFiles: Attachment[] = []
+ const duplicates: string[] = []
+ const newFiles: Attachment[] = []
const currentAttachments = useChatAttachments.getState().getAttachments(
attachmentsKey