Convert Card last_seen_at Date to last_seen DateTime

This commit is contained in:
2021-11-14 03:49:18 +00:00
parent e511723c07
commit 42ad1ac327
8 changed files with 69 additions and 14 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ function MemberInfo(props) {
const member = user.member;
const lastTrans = user.transactions && user.transactions.slice(0,3);
const lastCard = user.cards && user.cards.sort((a, b) => a.last_seen_at < b.last_seen_at)[0];
const lastCard = user.cards && user.cards.sort((a, b) => a.last_seen < b.last_seen)[0];
return (
<div>