aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/security-hotspots/components/HotspotOpenInIdeButton.tsx
diff options
context:
space:
mode:
authorViktor Vorona <viktor.vorona@sonarsource.com>2023-08-10 12:25:28 +0200
committersonartech <sonartech@sonarsource.com>2023-08-15 20:02:41 +0000
commitd72f2c84df6986c8a097be153269eae7f5ba0ea5 (patch)
treee23528873565d9228f481c9a50491fcdc927e906 /server/sonar-web/src/main/js/apps/security-hotspots/components/HotspotOpenInIdeButton.tsx
parent4f7c8b3b77dd11e655b20fdf40654881d98176f3 (diff)
downloadsonarqube-d72f2c84df6986c8a097be153269eae7f5ba0ea5.tar.gz
sonarqube-d72f2c84df6986c8a097be153269eae7f5ba0ea5.zip
SONAR-19465 Remove deferred state from spinner
Diffstat (limited to 'server/sonar-web/src/main/js/apps/security-hotspots/components/HotspotOpenInIdeButton.tsx')
-rw-r--r--server/sonar-web/src/main/js/apps/security-hotspots/components/HotspotOpenInIdeButton.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/security-hotspots/components/HotspotOpenInIdeButton.tsx b/server/sonar-web/src/main/js/apps/security-hotspots/components/HotspotOpenInIdeButton.tsx
index 3d879f6ef32..5229e07481e 100644
--- a/server/sonar-web/src/main/js/apps/security-hotspots/components/HotspotOpenInIdeButton.tsx
+++ b/server/sonar-web/src/main/js/apps/security-hotspots/components/HotspotOpenInIdeButton.tsx
@@ -25,7 +25,7 @@ import {
PopupPlacement,
} from 'design-system';
import * as React from 'react';
-import DeferredSpinner from '../../../components/ui/DeferredSpinner';
+import Spinner from '../../../components/ui/Spinner';
import { addGlobalErrorMessage, addGlobalSuccessMessage } from '../../../helpers/globalMessages';
import { translate } from '../../../helpers/l10n';
import { openHotspot, probeSonarLintServers } from '../../../helpers/sonarlint';
@@ -122,7 +122,7 @@ export default class HotspotOpenInIdeButton extends React.PureComponent<Props, S
>
<ButtonSecondary onClick={this.handleOnClick}>
{translate('hotspots.open_in_ide.open')}
- <DeferredSpinner loading={loading} className="sw-ml-4" />
+ <Spinner loading={loading} className="sw-ml-4" />
</ButtonSecondary>
</DropdownToggler>
</div>