disable draggable on image

This commit is contained in:
Lucas Oliveira 2025-10-01 11:51:03 -03:00
parent 8df2b38192
commit e22b8fe555

View file

@ -1941,7 +1941,7 @@ function ChatPage() {
{message.role === "user" && (
<div className="flex gap-3">
<Avatar className="w-8 h-8 flex-shrink-0 select-none">
<AvatarImage src={user?.picture} alt={user?.name} />
<AvatarImage draggable={false} src={user?.picture} alt={user?.name} />
<AvatarFallback className="text-sm bg-primary/20 text-primary">
{user?.name ? (
user.name.charAt(0).toUpperCase()