Upgrade ESlint to v8 (#23305)

This commit is contained in:
Nick Schonning
2023-01-29 19:45:35 -05:00
committed by GitHub
parent b58bf74e35
commit c49213f0ea
120 changed files with 832 additions and 810 deletions

View File

@@ -146,7 +146,7 @@ export default class Card extends React.PureComponent {
} else {
this.setState({ embedded: true });
}
}
};
setRef = c => {
this.node = c;
@@ -154,17 +154,17 @@ export default class Card extends React.PureComponent {
if (this.node) {
this._setDimensions();
}
}
};
handleImageLoad = () => {
this.setState({ previewLoaded: true });
}
};
handleReveal = e => {
e.preventDefault();
e.stopPropagation();
this.setState({ revealed: true });
}
};
renderVideo () {
const { card } = this.props;