aboutsummaryrefslogtreecommitdiff
path: root/src/pages/TaskAttemptHistory.tsx
diff options
context:
space:
mode:
authorMax Nanis2025-06-23 17:20:31 +0700
committerMax Nanis2025-06-23 17:20:31 +0700
commit8138549f64403874eb7c7ddfbde1cc2cc2c03695 (patch)
treeff16ff5bf7b0a5454fd181d178a6f799b9141d64 /src/pages/TaskAttemptHistory.tsx
parent5e8b1b89bfffd0202bc6c5f64aac943053d79d32 (diff)
downloadpanel-ui-8138549f64403874eb7c7ddfbde1cc2cc2c03695.tar.gz
panel-ui-8138549f64403874eb7c7ddfbde1cc2cc2c03695.zip
Typescript validation finally passes.
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",