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 */}
|
{/* Action Button */}
|
||||||
<button
|
<button
|
||||||
onClick={() => runIsochroneCalculation()}
|
onClick={() => runIsochroneCalculation()}
|
||||||
disabled={isIsochroneLoading}
|
disabled={isochroneLoading}
|
||||||
style={{
|
style={{
|
||||||
background: 'linear-gradient(135deg, #16a34a, #22c55e)',
|
background: 'linear-gradient(135deg, #16a34a, #22c55e)',
|
||||||
border: 'none',
|
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)'
|
boxShadow: '0 4px 14px rgba(34, 197, 94, 0.4)'
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{isIsochroneLoading ? (
|
{isochroneLoading ? (
|
||||||
<>
|
<>
|
||||||
<RotateCcw size={15} style={{ animation: 'spin 1s linear infinite' }} />
|
<RotateCcw size={15} style={{ animation: 'spin 1s linear infinite' }} />
|
||||||
<span>جاري احتساب مضلعات الوصول وشبكة الطرق...</span>
|
<span>جاري احتساب مضلعات الوصول وشبكة الطرق...</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user