matching-tool / frontend /src /components /MismatchAlert.jsx
KronosDP's picture
let there be light
57303cc unverified
Raw
History Blame Contribute Delete
329 Bytes
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>
)
}