From af12f0797355962f49fa37bcc93cb2f891f35f92 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Sun, 10 Nov 2024 19:58:49 -0800 Subject: [PATCH] refac --- .../components/admin/UserChatsModal.svelte | 27 ++++--------------- 1 file changed, 5 insertions(+), 22 deletions(-) diff --git a/src/lib/components/admin/UserChatsModal.svelte b/src/lib/components/admin/UserChatsModal.svelte index 9f39af0ff..45c17f4f0 100644 --- a/src/lib/components/admin/UserChatsModal.svelte +++ b/src/lib/components/admin/UserChatsModal.svelte @@ -75,7 +75,7 @@ {#if chats.length > 0}
- +
@@ -94,19 +94,7 @@ - - -
setSortKey('created_at')} - > - {$i18n.t('Created at')} - {#if sortKey === 'created_at'} - {sortOrder === 'asc' ? '▲' : '▼'} - {:else} - - {/if} - - -
- {dayjs(chat.created_at * 1000).format($i18n.t('MMMM DD, YYYY HH:mm'))} -
-