feat: made alerts and logs keys more unique
This commit is contained in:
parent
57ac9c6551
commit
69e38aceec
|
@ -42,7 +42,7 @@ const AlertsList = () => {
|
|||
</XStack>
|
||||
{alerts.map(alert => (
|
||||
<InformationBox
|
||||
key={alert.message}
|
||||
key={alert.message + alert.variant}
|
||||
message={alert.message}
|
||||
icon={<CloseCircleIcon size={20} />}
|
||||
variant={alert.variant}
|
||||
|
|
|
@ -38,7 +38,7 @@ const LogsList = () => {
|
|||
</XStack>
|
||||
{logs.map(log => (
|
||||
<InformationBox
|
||||
key={log.message}
|
||||
key={log.message + log.variant}
|
||||
message={log.message}
|
||||
icon={<CloseCircleIcon size={20} />}
|
||||
variant={log.variant}
|
||||
|
|
Loading…
Reference in New Issue