sort the data, not the UI. buttons are now tab-able from the top down (#176)
This commit is contained in:
		
							parent
							
								
									e18276223b
								
							
						
					
					
						commit
						fffb729b34
					
				|  | @ -13,8 +13,8 @@ interface Props { | ||||||
| 
 | 
 | ||||||
| export const Conversations: FC<Props> = ({ loading, conversations, selectedConversation, onSelectConversation, onDeleteConversation, onUpdateConversation }) => { | export const Conversations: FC<Props> = ({ loading, conversations, selectedConversation, onSelectConversation, onDeleteConversation, onUpdateConversation }) => { | ||||||
|   return ( |   return ( | ||||||
|     <div className="flex flex-col-reverse gap-1 w-full pt-2"> |     <div className="flex flex-col gap-1 w-full pt-2"> | ||||||
|       {conversations.map((conversation, index) => ( |       {conversations.slice().reverse().map((conversation, index) => ( | ||||||
|         <ConversationComponent |         <ConversationComponent | ||||||
|           key={index} |           key={index} | ||||||
|           selectedConversation={selectedConversation} |           selectedConversation={selectedConversation} | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue