stable and definitely unique card UI key in /alerts

Signed-off-by: amanycodes <amanycodes@gmail.com>
This commit is contained in:
amanycodes 2025-02-15 19:20:21 +05:30
parent 26bddcf068
commit 3dc9cbc8c0

View File

@ -221,7 +221,7 @@ export default function AlertsPage() {
shadow="xs"
withBorder
p="md"
key={i} // TODO: Find a stable and definitely unique key.
key={`${g.name}-${g.file}`} // TODO: Find a stable and definitely unique key.
>
<Group mb="sm" justify="space-between">
<Group align="baseline">