From fffb729b34614d2ccd34d314f1f9cc9b2820f050 Mon Sep 17 00:00:00 2001 From: Brad Ullman Date: Sat, 25 Mar 2023 21:11:48 -0700 Subject: [PATCH] sort the data, not the UI. buttons are now tab-able from the top down (#176) --- components/Sidebar/Conversations.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/Sidebar/Conversations.tsx b/components/Sidebar/Conversations.tsx index 48578b3..c4c2cdd 100644 --- a/components/Sidebar/Conversations.tsx +++ b/components/Sidebar/Conversations.tsx @@ -13,8 +13,8 @@ interface Props { export const Conversations: FC = ({ loading, conversations, selectedConversation, onSelectConversation, onDeleteConversation, onUpdateConversation }) => { return ( -
- {conversations.map((conversation, index) => ( +
+ {conversations.slice().reverse().map((conversation, index) => (