Show latest conversations on the top (#46)

This commit is contained in:
Xiangxuan Liu 2023-03-21 23:45:09 +08:00 committed by GitHub
parent 0d6ff739a2
commit b80f39925c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ export const Conversations: FC<Props> = ({ loading, conversations, selectedConve
}, [isRenaming, isDeleting]); }, [isRenaming, isDeleting]);
return ( return (
<div className="flex flex-col space-y-2 w-full px-2"> <div className="flex flex-col-reverse gap-2 w-full px-2">
{conversations.map((conversation, index) => ( {conversations.map((conversation, index) => (
<button <button
key={index} key={index}