diff --git a/src/components/accounts/domains/DomainListings.js b/src/components/accounts/domains/DomainListings.js
index 9aa0ef5a8..e939ef546 100644
--- a/src/components/accounts/domains/DomainListings.js
+++ b/src/components/accounts/domains/DomainListings.js
@@ -107,7 +107,9 @@ export default function DomainListings({
renderCell: (params) => {
return (
- {dayjs(params.row.createdAt).format('MMM DD, YYYY')}
+ {!dayjs(params.row.createdAt).isValid()
+ ? ''
+ : dayjs(params.row.createdAt).format('MMM DD, YYYY')}
);
},
diff --git a/src/views/accounts/instances/Users.js b/src/views/accounts/instances/Users.js
index 66fbadb8c..369069a32 100644
--- a/src/views/accounts/instances/Users.js
+++ b/src/views/accounts/instances/Users.js
@@ -152,7 +152,9 @@ const CustomTable = ({
editable: false,
renderHeader: () => Last Active,
renderCell: (params) => {
- const date = dayjs(params.row.lastLogin).format('MMM DD, YYYY');
+ const date = !dayjs(params.row.lastLogin).isValid()
+ ? ''
+ : dayjs(params.row.lastLogin).format('MMM DD, YYYY');
return (
{date}