Skip to content

Commit 9539a0a

Browse files
fix: remove the deprecated using date as a type
1 parent 88f3e45 commit 9539a0a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/meteor/client/hooks/useWorkspaceInfo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export const useWorkspaceInfo = ({ refreshStatistics }: { refreshStatistics?: bo
5757
const statsData = data as Serialized<IStats>;
5858
return {
5959
...statsData,
60-
lastMessageSentAt: statsData.lastMessageSentAt ? new Date(statsData.lastMessageSentAt) : undefined,
60+
lastMessageSentAt: statsData.lastMessageSentAt,
6161
};
6262
},
6363
},

0 commit comments

Comments
 (0)