Skip to content

Commit

Permalink
fix showcase
Browse files Browse the repository at this point in the history
  • Loading branch information
LXIF committed Nov 1, 2024
1 parent eae18cd commit 9a5c60a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/src/flows/manage/authenticatorsSection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export const authenticatorItem = ({
let lastUsageTimeStamp: Date | undefined;
let lastUsageFormattedString: string | undefined;

if (last_usage.length > 0 && typeof last_usage[0] === "bigint") {
if (last_usage?.length > 0 && typeof last_usage[0] === "bigint") {
lastUsageTimeStamp = new Date(Number(last_usage[0] / BigInt(1000000)));
}

Expand Down

0 comments on commit 9a5c60a

Please sign in to comment.