Skip to content

Commit

Permalink
Change skeleton image to loading (#368)
Browse files Browse the repository at this point in the history
  • Loading branch information
Anugerah Erlaut authored Jun 30, 2021
1 parent 7db6cb9 commit c4a9806
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/plots/ViolinPlot.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { useSelector, useDispatch } from 'react-redux';
import PropTypes from 'prop-types';
import { Vega } from 'react-vega';

import { Skeleton } from 'antd';
import Loader from '../Loader';
import PlatformError from '../PlatformError';
import { generateSpec, generateData } from '../../utils/plotSpecs/generateViolinSpec';
import { loadGeneExpression, loadPaginatedGeneProperties } from '../../redux/actions/genes';
Expand Down Expand Up @@ -117,7 +117,7 @@ const ViolinPlot = (props) => {
|| highestDispersionLoading) {
return (
<center>
<Skeleton.Image style={{ width: 400, height: 400 }} />
<Loader />
</center>
);
}
Expand Down

0 comments on commit c4a9806

Please sign in to comment.