MSP-4163 fix createdAt field in tokens table

This commit is contained in:
foxxy committed 2024-10-02 12:31:58 +03:00
1 parent 43802b7595
commit 6916d2e5c2
1 file changed
+2 -4
+2 -4
View File
@@ -123,10 +123,8 @@ const TokenContent = ({ id }: TokenPropTypes) => {
title: 'Дата/Время выпуска',
dataIndex: 'createdAt',
key: 'createdAt',
render: (record) => {
const formatTime = dayjs(record.createdAt).format(
dateFormats.fullFormat
)
render: (value) => {
const formatTime = dayjs(value).format(dateFormats.fullFormat)
return <div>{formatTime}</div>
}
},