File size: 329 Bytes
57303cc
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
export default function MismatchAlert({ mismatches }) {
  if (!mismatches || mismatches.length === 0) return null

  return (
    <div className="alert-warning">
      <strong>⚠️ Mismatch Warnings</strong>
      <ul>
        {mismatches.map((m, i) => (
          <li key={i}>{m}</li>
        ))}
      </ul>
    </div>
  )
}