Skip to content

Commit

Permalink
Fix flickering loading state in RiskScoreEnableSection
Browse files Browse the repository at this point in the history
  • Loading branch information
hop-dev committed Dec 16, 2024
1 parent 01cd6d8 commit dd462bf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ export const RiskScoreEnableSection: React.FC<{
<RiskEngineStatusRow
currentRiskEngineStatus={currentRiskEngineStatus}
onSwitchClick={onSwitchClick}
isLoading={isLoading}
isLoading={isLoading && !currentRiskEngineStatus}
privileges={privileges}
/>
)}
Expand Down

0 comments on commit dd462bf

Please sign in to comment.