aboutsummaryrefslogtreecommitdiff
path: root/src/pages/TaskAttemptHistory.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/pages/TaskAttemptHistory.tsx')
-rw-r--r--src/pages/TaskAttemptHistory.tsx2
1 files changed, 1 insertions, 1 deletions
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",