From 8138549f64403874eb7c7ddfbde1cc2cc2c03695 Mon Sep 17 00:00:00 2001 From: Max Nanis Date: Mon, 23 Jun 2025 17:20:31 +0700 Subject: Typescript validation finally passes. --- src/pages/TaskAttemptHistory.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pages/TaskAttemptHistory.tsx') diff --git a/src/pages/TaskAttemptHistory.tsx b/src/pages/TaskAttemptHistory.tsx index 311c32e..0014893 100644 --- a/src/pages/TaskAttemptHistory.tsx +++ b/src/pages/TaskAttemptHistory.tsx @@ -14,7 +14,7 @@ export const TaskAttemptTable = () => { { accessorKey: "started", header: "Started", - cell: ({getValue}) => formatDistanceToNow(new Date(getValue()), {addSuffix: true}) + cell: ({getValue}) => formatDistanceToNow(new Date(getValue() as string), {addSuffix: true}) }, { accessorKey: "finished", -- cgit v1.2.3