courrier formatting

This commit is contained in:
alma 2025-04-30 15:51:33 +02:00
parent d1a8b3f350
commit f38e1bfc47

View File

@ -158,7 +158,10 @@ export default function EmailListItem({
</span>
<button
className="h-6 w-6 text-gray-400 hover:text-yellow-400"
onClick={onToggleStarred}
onClick={(e) => {
e.stopPropagation();
onToggleStarred(e);
}}
>
<Star className={`h-4 w-4 ${email.flags?.flagged ? 'fill-yellow-400 text-yellow-400' : ''}`} />
</button>