From f949253b773469e332b703b109c2ab088a3c92f7 Mon Sep 17 00:00:00 2001 From: deepvasoya Date: Wed, 21 May 2025 16:18:36 +0530 Subject: [PATCH] fix: column NaN value --- src/views/ClinicsList/index.jsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/ClinicsList/index.jsx b/src/views/ClinicsList/index.jsx index 36c20ca..6ba0c42 100644 --- a/src/views/ClinicsList/index.jsx +++ b/src/views/ClinicsList/index.jsx @@ -268,7 +268,7 @@ const ClinicsList = () => { // .................company name column.................. { enableSorting: true, - size: 260, + size: 200, accessorKey: "name", header: "Clinic Name", Cell: ({ row }) => ( @@ -309,11 +309,11 @@ const ClinicsList = () => { // ......................approve at column............... { enableSorting: true, - size: 100, - accessorKey: "approvedAt", + size: 150, + accessorKey: "update_time", header: "Approved Since", Cell: ({ row }) => { - const approvedAtDate = new Date(row?.original?.approvedAt); + const approvedAtDate = new Date(row?.original?.update_time); const today = new Date(); const daysDiff = differenceInDays(today, approvedAtDate);