diff --git a/src/components/common/TokenDetails.jsx b/src/components/common/TokenDetails.jsx index 1c1435b..83bd66f 100644 --- a/src/components/common/TokenDetails.jsx +++ b/src/components/common/TokenDetails.jsx @@ -36,46 +36,55 @@ export const TokenDetails = ({ data }) => {
Token ID: {data?.token}
-- Issued on: {dayjs(data?.metadata?.issued_at).format('DD MMMM YYYY')} -
-- Expires on: {dayjs(data?.metadata?.expires_at).format('DD MMMM YYYY')} -
-- Days until expiration:{' '} - {Math.abs(dayjs(data?.metadata?.expires_at).diff(Date.now(), 'days'))} -
-+ Issued on: {dayjs(data?.metadata?.issued_at).format('DD MMMM YYYY')} +
++ Expires on:{' '} + {dayjs(data?.metadata?.expires_at).format('DD MMMM YYYY')} +
++ Days until expiration:{' '} + {Math.abs( + dayjs(data?.metadata?.expires_at).diff(Date.now(), 'days') + )} +
+