fix: ts compile error missing key

pull/97/head
lyc8503 2025-03-25 17:11:39 +08:00 committed by GitHub
parent dabccd83f6
commit 31cb82c747
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ export default function DetailBar({
setModalTitle(`🚨 ${monitor.name} incidents at ${new Date(dayStart * 1000).toLocaleDateString()}`)
setModelContent(
<>
{incidentReasons.map((reason) => (<div>{reason}</div>))}
{incidentReasons.map((reason, index) => (<div key={index}>{reason}</div>))}
</>
)
setModalOpened(true)