From 76d06962a27aa43895b8bf5126e2551679d04afb Mon Sep 17 00:00:00 2001 From: Steven Tey Date: Sun, 22 Dec 2024 13:36:37 -0800 Subject: [PATCH] Update delete-token-modal.tsx --- apps/web/ui/modals/delete-token-modal.tsx | 26 ++++++++++++----------- 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/apps/web/ui/modals/delete-token-modal.tsx b/apps/web/ui/modals/delete-token-modal.tsx index 884d207cfe..bba998c87f 100644 --- a/apps/web/ui/modals/delete-token-modal.tsx +++ b/apps/web/ui/modals/delete-token-modal.tsx @@ -73,18 +73,20 @@ function DeleteTokenModal({
- - {token.user.name!} - + {token.user && ( + + {token.user.name!} + + )}

{new Date(token.createdAt).toLocaleDateString("en-us", { month: "short",