export function StatusMessage({ error, success }) { if (!error && !success) { return null; } if (error) { return
{error}
; } return
{success}
; }