aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/issues/crossComponentSourceViewer
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/issues/crossComponentSourceViewer')
-rw-r--r--server/sonar-web/src/main/js/apps/issues/crossComponentSourceViewer/CrossComponentSourceViewer.tsx4
-rw-r--r--server/sonar-web/src/main/js/apps/issues/crossComponentSourceViewer/IssueSourceViewerHeader.tsx4
2 files changed, 4 insertions, 4 deletions
diff --git a/server/sonar-web/src/main/js/apps/issues/crossComponentSourceViewer/CrossComponentSourceViewer.tsx b/server/sonar-web/src/main/js/apps/issues/crossComponentSourceViewer/CrossComponentSourceViewer.tsx
index 8e5e8551a02..018c43287b7 100644
--- a/server/sonar-web/src/main/js/apps/issues/crossComponentSourceViewer/CrossComponentSourceViewer.tsx
+++ b/server/sonar-web/src/main/js/apps/issues/crossComponentSourceViewer/CrossComponentSourceViewer.tsx
@@ -33,7 +33,7 @@ import {
issuesByComponentAndLine,
} from '../../../components/SourceViewer/helpers/indexing';
import { Alert } from '../../../components/ui/Alert';
-import DeferredSpinner from '../../../components/ui/DeferredSpinner';
+import Spinner from '../../../components/ui/Spinner';
import { WorkspaceContext } from '../../../components/workspace/context';
import { getBranchLikeQuery } from '../../../helpers/branch-like';
import { throwGlobalError } from '../../../helpers/error';
@@ -192,7 +192,7 @@ export default class CrossComponentSourceViewer extends React.PureComponent<Prop
if (loading) {
return (
<div>
- <DeferredSpinner ariaLabel={translate('code_viewer.loading')} />
+ <Spinner ariaLabel={translate('code_viewer.loading')} />
</div>
);
}
diff --git a/server/sonar-web/src/main/js/apps/issues/crossComponentSourceViewer/IssueSourceViewerHeader.tsx b/server/sonar-web/src/main/js/apps/issues/crossComponentSourceViewer/IssueSourceViewerHeader.tsx
index 3c29418ac85..a9973b34848 100644
--- a/server/sonar-web/src/main/js/apps/issues/crossComponentSourceViewer/IssueSourceViewerHeader.tsx
+++ b/server/sonar-web/src/main/js/apps/issues/crossComponentSourceViewer/IssueSourceViewerHeader.tsx
@@ -23,11 +23,11 @@ import classNames from 'classnames';
import {
ChevronRightIcon,
CopyIcon,
- DeferredSpinner,
HoverLink,
InteractiveIcon,
LightLabel,
Link,
+ Spinner,
ThemeProp,
UnfoldIcon,
themeColor,
@@ -156,7 +156,7 @@ function IssueSourceViewerHeader(props: Props & ThemeProp) {
</div>
)}
- <DeferredSpinner className="sw-mr-1" loading={loading} />
+ <Spinner className="sw-mr-1" loading={loading} />
{expandable && !loading && (
<div className="sw-ml-4">