chore: remove scrollToLogBottom()

This commit is contained in:
amhsirak
2026-01-02 11:38:16 +05:30
parent 2f42914cc4
commit 0e3d430f41

View File

@@ -54,12 +54,6 @@ export const CollapsibleRow = ({ row, handleDelete, isOpen, onToggleExpanded, cu
const logEndRef = useRef<HTMLDivElement | null>(null); const logEndRef = useRef<HTMLDivElement | null>(null);
const scrollToLogBottom = () => {
if (logEndRef.current) {
logEndRef.current.scrollIntoView({ behavior: "smooth" });
}
}
const handleAbort = () => { const handleAbort = () => {
abortRunHandler(row.runId, row.name, row.browserId); abortRunHandler(row.runId, row.name, row.browserId);
} }
@@ -67,12 +61,7 @@ export const CollapsibleRow = ({ row, handleDelete, isOpen, onToggleExpanded, cu
const handleRowExpand = () => { const handleRowExpand = () => {
const newOpen = !isOpen; const newOpen = !isOpen;
onToggleExpanded(newOpen); onToggleExpanded(newOpen);
//scrollToLogBottom();
}; };
// useEffect(() => {
// scrollToLogBottom();
// }, [currentLog])
useEffect(() => { useEffect(() => {
const fetchUserEmail = async () => { const fetchUserEmail = async () => {