From ca103356a0a1e1b2a73686a223ccc521de788d93 Mon Sep 17 00:00:00 2001 From: amhsirak Date: Fri, 10 Jan 2025 12:28:52 +0530 Subject: [PATCH] feat: use row.runId --- src/components/run/ColapsibleRow.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/run/ColapsibleRow.tsx b/src/components/run/ColapsibleRow.tsx index c31c6f25..aaa09030 100644 --- a/src/components/run/ColapsibleRow.tsx +++ b/src/components/run/ColapsibleRow.tsx @@ -11,7 +11,7 @@ import { GenericModal } from "../ui/GenericModal"; import { modalStyle } from "../recorder/AddWhereCondModal"; import { getUserById } from "../../api/auth"; import { useTranslation } from "react-i18next"; -import { useNavigate, useParams } from "react-router-dom"; +import { useNavigate } from "react-router-dom"; interface RunTypeChipProps { runByUserId?: string; @@ -50,8 +50,6 @@ export const CollapsibleRow = ({ row, handleDelete, isOpen, currentLog, abortRun ? 'API' : 'Unknown'; - const { runId } = useParams(); - const logEndRef = useRef(null); const scrollToLogBottom = () => {