Skip to content

Commit

Permalink
[frontend] use new loader (#8288)
Browse files Browse the repository at this point in the history
  • Loading branch information
frapuks committed Sep 17, 2024
1 parent 04be3ac commit d332744
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import { useFormatter } from '../../../../components/i18n';
import { buildFiltersAndOptionsForWidgets } from '../../../../utils/filters/filtersUtils';
import WidgetContainer from '../../../../components/dashboard/WidgetContainer';
import WidgetNoData from '../../../../components/dashboard/WidgetNoData';
import WidgetLoader from '../../../../components/dashboard/WidgetLoader';
import WidgetHorizontalBars from '../../../../components/dashboard/WidgetHorizontalBars';
import useDistributionGraphData from '../../../../utils/hooks/useDistributionGraphData';
import Loader from '../../../../components/Loader';

export const stixRelationshipsHorizontalBarsDistributionQuery = graphql`
query StixRelationshipsHorizontalBarsDistributionQuery(
Expand Down Expand Up @@ -168,7 +168,7 @@ const StixRelationshipsHorizontalBars = ({
if (props) {
return <WidgetNoData />;
}
return <WidgetLoader />;
return <Loader variant="inElement" />;
}}
/>
);
Expand Down

0 comments on commit d332744

Please sign in to comment.