From 3b382e5d5ec1be1988c8e6cfce5f110b07ff03ae Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Sat, 19 Oct 2024 03:55:36 +0530 Subject: [PATCH] chore: lint --- src/components/molecules/ColapsibleRow.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/molecules/ColapsibleRow.tsx b/src/components/molecules/ColapsibleRow.tsx index c0baf84a..803cfe5c 100644 --- a/src/components/molecules/ColapsibleRow.tsx +++ b/src/components/molecules/ColapsibleRow.tsx @@ -16,10 +16,10 @@ interface CollapsibleRowProps { abortRunHandler: () => void; runningRecordingName: string; } -export const CollapsibleRow = ({ row, handleDelete, isOpen, currentLog, abortRunHandler,runningRecordingName }: CollapsibleRowProps) => { +export const CollapsibleRow = ({ row, handleDelete, isOpen, currentLog, abortRunHandler, runningRecordingName }: CollapsibleRowProps) => { const [open, setOpen] = useState(isOpen); - const logEndRef = useRef(null); + const logEndRef = useRef(null); const scrollToLogBottom = () => { if (logEndRef.current) { @@ -52,7 +52,7 @@ export const CollapsibleRow = ({ row, handleDelete, isOpen, currentLog, abortRun {columns.map((column) => { // @ts-ignore - const value : any = row[column.id]; + const value: any = row[column.id]; if (value !== undefined) { return ( @@ -64,14 +64,14 @@ export const CollapsibleRow = ({ row, handleDelete, isOpen, currentLog, abortRun case 'delete': return ( - { + { deleteRunFromStorage(`${row.runId}`).then((result: boolean) => { if (result) { handleDelete(); } }) }}> - + ); @@ -85,7 +85,7 @@ export const CollapsibleRow = ({ row, handleDelete, isOpen, currentLog, abortRun + logEndRef={logEndRef} interpretationInProgress={runningRecordingName === row.name} />