mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-29 15:58:11 +08:00
chore: Add ESLint no-floating-promise
This commit is contained in:
@@ -42,12 +42,12 @@ export default class MiniStackedBar extends React.PureComponent {
|
||||
}
|
||||
};
|
||||
|
||||
componentDidUpdate = (prevProps) => {
|
||||
componentDidUpdate(prevProps) {
|
||||
const { occupancy } = this.props;
|
||||
if (occupancy !== prevProps.occupancy) this.drawStacks();
|
||||
};
|
||||
|
||||
componentDidMount = () => {
|
||||
componentDidMount() {
|
||||
this.drawStacks();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user