Skip to content

Commit

Permalink
[frontend] use loader variant variable (#8288)
Browse files Browse the repository at this point in the history
  • Loading branch information
frapuks committed Oct 15, 2024
1 parent 46738f1 commit d4bf497
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import WidgetContainer from '../../../../components/dashboard/WidgetContainer';
import WidgetNoData from '../../../../components/dashboard/WidgetNoData';
import WidgetHorizontalBars from '../../../../components/dashboard/WidgetHorizontalBars';
import useDistributionGraphData from '../../../../utils/hooks/useDistributionGraphData';
import Loader from '../../../../components/Loader';
import Loader, { LoaderVariant } from '../../../../components/Loader';

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

0 comments on commit d4bf497

Please sign in to comment.