message: Monitoring: Add missing `key` prop in PrometheusTemplate
diff: @@ -849,11 +849,11 @@ export const AlertsDetailsPage = withFallback(
  // Renders Prometheus template text and highlights any {{ ... }} tags that it contains
  const PrometheusTemplate = ({ text }) => (
  <>
  - {text
  - ?.split(/(\{\{[^{}]*\}\})/)
  - ?.map((part: string) =>
  + {text?.split(/(\{\{[^{}]*\}\})/)?.map((part: string, i: number) =>
  part.match(/^\{\{[^{}]*\}\}$/) ? (
  - <code className="prometheus-template-tag">{part}</code>
  + <code className="prometheus-template-tag" key={i}>
  + {part}
  + </code>
  ) : (
  part
  ),
  