sort the data, not the UI. buttons are now tab-able from the top down (#176)

This commit is contained in:
Brad Ullman
2023-03-25 21:11:48 -07:00
committed by GitHub
parent e18276223b
commit fffb729b34
+2 -2
View File
@@ -13,8 +13,8 @@ interface Props {
export const Conversations: FC<Props> = ({ loading, conversations, selectedConversation, onSelectConversation, onDeleteConversation, onUpdateConversation }) => {
return (
<div className="flex flex-col-reverse gap-1 w-full pt-2">
{conversations.map((conversation, index) => (
<div className="flex flex-col gap-1 w-full pt-2">
{conversations.slice().reverse().map((conversation, index) => (
<ConversationComponent
key={index}
selectedConversation={selectedConversation}