fix: resolve isochroneLoading variable reference in TacticalDefenseView
This commit is contained in:
@@ -3256,7 +3256,7 @@ ${terrainResult.tacticalRecommendations.map((r, i) => `${i + 1}. ${r}`).join('\n
|
||||
{/* Action Button */}
|
||||
<button
|
||||
onClick={() => runIsochroneCalculation()}
|
||||
disabled={isIsochroneLoading}
|
||||
disabled={isochroneLoading}
|
||||
style={{
|
||||
background: 'linear-gradient(135deg, #16a34a, #22c55e)',
|
||||
border: 'none',
|
||||
@@ -3273,7 +3273,7 @@ ${terrainResult.tacticalRecommendations.map((r, i) => `${i + 1}. ${r}`).join('\n
|
||||
boxShadow: '0 4px 14px rgba(34, 197, 94, 0.4)'
|
||||
}}
|
||||
>
|
||||
{isIsochroneLoading ? (
|
||||
{isochroneLoading ? (
|
||||
<>
|
||||
<RotateCcw size={15} style={{ animation: 'spin 1s linear infinite' }} />
|
||||
<span>جاري احتساب مضلعات الوصول وشبكة الطرق...</span>
|
||||
|
||||
Reference in New Issue
Block a user