fix: add missing key

This commit is contained in:
codytseng
2025-08-27 22:02:35 +08:00
parent 8b1c2ebe3f
commit 7da4127652

View File

@@ -44,7 +44,7 @@ export default function NewNotesButton({
{pubkeys.length > 0 && (
<div className="*:data-[slot=avatar]:ring-background flex -space-x-2 *:data-[slot=avatar]:ring-2 *:data-[slot=avatar]:grayscale">
{pubkeys.map((pubkey) => (
<SimpleUserAvatar userId={pubkey} size="small" />
<SimpleUserAvatar key={pubkey} userId={pubkey} size="small" />
))}
</div>
)}