Pārlūkot izejas kodu

chore: smaller auto scroll interval

Yidadaa 1 gadu atpakaļ
vecāks
revīzija
75d4eca722
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      app/components/chat.tsx

+ 1 - 1
app/components/chat.tsx

@@ -387,7 +387,7 @@ function useScrollToBottom() {
       if (autoScroll.current) {
         scrollToBottom();
       }
-    }, 100);
+    }, 30);
     return () => clearInterval(intervalId);
     // eslint-disable-next-line react-hooks/exhaustive-deps
   }, []);