Skip to content

Commit

Permalink
fixup! Added toggle validity and delete in the token list page
Browse files Browse the repository at this point in the history
  • Loading branch information
mcalmer committed Feb 22, 2025
1 parent a2ea972 commit ff86c8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/html/src/components/hub/TokenTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export class TokenTable extends React.Component<Props, State> {
}

const isExpired = localizedMoment(expirationTime).isBefore(localizedMoment());
const param = { expiration: (_str) => <FromNow value={expirationTime} /> };
const param = { expiration: (_str) => this.renderDate(expirationTime) };

return (
<span className={isExpired ? "text-danger" : ""}>
Expand Down

0 comments on commit ff86c8c

Please sign in to comment.