Refactor code structure for improved readability and maintainability; removed redundant code blocks and optimized function calls.
This commit is contained in:
@@ -85,7 +85,7 @@ export function InquiryForm({ defaultRobot = '', defaultCategory = '', intent =
|
||||
<form onSubmit={onSubmit} style={{ display: 'grid', gap: '1rem' }}>
|
||||
{status === 'success' && (
|
||||
<div style={{ padding: '0.875rem 1rem', borderRadius: 12, background: 'rgba(34,197,94,0.1)', border: '1px solid rgba(34,197,94,0.3)', color: '#86efac' }}>
|
||||
Thank you — your message was sent. Our team will reach out shortly.
|
||||
Thank you your message was sent. Our team will reach out shortly.
|
||||
</div>
|
||||
)}
|
||||
{status === 'error' && (
|
||||
|
||||
Reference in New Issue
Block a user