Commit ·
899bb33
1
Parent(s): 1691796
Fix syntax errors in JSX files
Browse files
frontend/src/components/CashFlow.jsx
CHANGED
|
@@ -195,6 +195,7 @@ function CashFlowTool({ token, isArabic, initialProjectName, onClearInitialName,
|
|
| 195 |
<h3 style={{ marginTop: 22, color: 'var(--text-primary)' }}>④ {t('Run Process', 'تشغيل المعالجة')}</h3>
|
| 196 |
{missing.length > 0 && (
|
| 197 |
<p style={{ color: 'var(--warning, #d97706)', marginTop: 14 }}>⚠️ {t('Please fill required fields', 'يرجى تعبئة الحقول المطلوبة')}: {missing.join('، ')}</p>
|
|
|
|
| 198 |
{isSimulating ? (
|
| 199 |
<div style={{ marginTop: 20, padding: 20, background: 'var(--bg-primary)', borderRadius: 8, border: '1px solid var(--border-color)', textAlign: 'center' }}>
|
| 200 |
<h4 style={{ margin: 0, marginBottom: 10, color: 'var(--text-primary)' }}>{t('Processing Financial Data...', 'جاري معالجة البيانات المالية...')}</h4>
|
|
|
|
| 195 |
<h3 style={{ marginTop: 22, color: 'var(--text-primary)' }}>④ {t('Run Process', 'تشغيل المعالجة')}</h3>
|
| 196 |
{missing.length > 0 && (
|
| 197 |
<p style={{ color: 'var(--warning, #d97706)', marginTop: 14 }}>⚠️ {t('Please fill required fields', 'يرجى تعبئة الحقول المطلوبة')}: {missing.join('، ')}</p>
|
| 198 |
+
)}
|
| 199 |
{isSimulating ? (
|
| 200 |
<div style={{ marginTop: 20, padding: 20, background: 'var(--bg-primary)', borderRadius: 8, border: '1px solid var(--border-color)', textAlign: 'center' }}>
|
| 201 |
<h4 style={{ margin: 0, marginBottom: 10, color: 'var(--text-primary)' }}>{t('Processing Financial Data...', 'جاري معالجة البيانات المالية...')}</h4>
|
frontend/src/components/common/FeedbackModal.jsx
CHANGED
|
@@ -141,10 +141,11 @@ const FeedbackModal = ({ isOpen, onClose, toolName, projectName, isArabic, inlin
|
|
| 141 |
disabled={rating === 0 || submitting}
|
| 142 |
>
|
| 143 |
{submitting ? (isArabic ? 'جاري الإرسال...' : 'Submitting...') : (isArabic ? 'إرسال' : 'Submit')}
|
| 144 |
-
</button>
|
| 145 |
-
</div>
|
| 146 |
-
</>
|
| 147 |
)}
|
|
|
|
|
|
|
|
|
|
|
|
|
| 148 |
if (inline) return cardContent;
|
| 149 |
|
| 150 |
return (
|
|
|
|
| 141 |
disabled={rating === 0 || submitting}
|
| 142 |
>
|
| 143 |
{submitting ? (isArabic ? 'جاري الإرسال...' : 'Submitting...') : (isArabic ? 'إرسال' : 'Submit')}
|
|
|
|
|
|
|
|
|
|
| 144 |
)}
|
| 145 |
+
</div>
|
| 146 |
+
</div>
|
| 147 |
+
);
|
| 148 |
+
|
| 149 |
if (inline) return cardContent;
|
| 150 |
|
| 151 |
return (
|