Merge branch 'werk' into dev_environment

This commit is contained in:
Carter 2026-07-21 12:00:17 -06:00
commit 462409f2f4

View file

@ -24,11 +24,11 @@ export default function ChatOutput(props: Props) {
const ScrollToBottom = () => { const ScrollToBottom = () => {
const elementRef = useRef<null | HTMLDivElement>(null); const elementRef = useRef<null | HTMLDivElement>(null);
useEffect(() => useEffect(() => {
elementRef?.current?.scrollIntoView({ elementRef?.current?.scrollIntoView({
block: "end" block: "end"
}) });
); });
let elem = <div ref={elementRef} />; let elem = <div ref={elementRef} />;
return elem; return elem;
}; };