mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 09:09:36 +02:00
Git Bridge: fix incorrect token creation date display
This commit is contained in:
@@ -14,7 +14,9 @@ type Props = {
|
||||
function TokenTableRow({ token, handleDeleteClick }: Props) {
|
||||
const { t } = useTranslation()
|
||||
|
||||
const created = moment(token.created_at).format('Do MMM YYYY')
|
||||
console.log("token = ", token)
|
||||
|
||||
const created = moment(token.createdAt).format('Do MMM YYYY')
|
||||
const lastUsed = token.lastUsedAt
|
||||
? moment(token.lastUsedAt).format('Do MMM YYYY')
|
||||
: t('never')
|
||||
|
||||
Reference in New Issue
Block a user