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 a5ffa83be8
commit bf9c68c7f1

View file

@ -220,7 +220,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="md" mt="xs" ml="xs" justify="space-between">
<Group align="baseline">