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.

chore: clean up console log

Louisf271e8fe9ca8
diff --git a/web-app/src/routes/threads/$threadId.tsx b/web-app/src/routes/threads/$threadId.tsx
index 30106d0ba..0165491ae 100644
--- a/web-app/src/routes/threads/$threadId.tsx
+++ b/web-app/src/routes/threads/$threadId.tsx
@@ -38,8 +38,6 @@ function ThreadDetail() {
const chatWidth = useAppearance((state) => state.chatWidth)
const isSmallScreen = useSmallScreen()
- // useTools()
-
const { messages } = useMessages(
useShallow((state) => ({
messages: state.messages[threadId],
@@ -50,8 +48,6 @@ function ThreadDetail() {
const thread = useThreads(useShallow((state) => state.threads[threadId]))
const scrollContainerRef = useRef<HTMLDivElement>(null)
- console.log('rerender')
-
useEffect(() => {
if (currentThreadId !== threadId) {
setCurrentThreadId(threadId)