This commit is contained in:
GH Action - Upstream Sync
2023-04-26 18:12:11 +00:00
2 changed files with 2 additions and 2 deletions

View File

@@ -438,7 +438,7 @@ export function Chat() {
const [isLoading, setIsLoading] = useState(false);
const { submitKey, shouldSubmit } = useSubmitHandler();
const { scrollRef, setAutoScroll, scrollToBottom } = useScrollToBottom();
const [hitBottom, setHitBottom] = useState(false);
const [hitBottom, setHitBottom] = useState(true);
const isMobileScreen = useMobileScreen();
const navigate = useNavigate();