chore: remove scrollToLogBottom()
This commit is contained in:
@@ -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,13 +61,8 @@ 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 () => {
|
||||||
if (row.runByUserId) {
|
if (row.runByUserId) {
|
||||||
|
|||||||
Reference in New Issue
Block a user