Use _types as key too

This commit is contained in:
Lim Chee Aun 2023-09-13 18:43:25 +08:00
parent f02cd50d7b
commit 62201b0250

View file

@ -73,7 +73,7 @@ export default function GenericAccounts({ onClose = () => {} }) {
<>
<ul class="accounts-list">
{accounts.map((account) => (
<li key={account.id}>
<li key={account.id + (account._types || '')}>
{showReactions && account._types?.length > 0 && (
<div class="reactions-block">
{account._types.map((type) => (