Remove useless props constructor.
This commit is contained in:
1 parent
3c3206d8e2
commit
a63385343a
1 file changed
-4
@@ -86,10 +86,6 @@ const CardHeader = ({onCloseCards, onShrinkExpandCards, onShowAll, totalSteps, s
|
||||
);
|
||||
|
||||
class VideoStep extends React.Component {
|
||||
// eslint-disable-next-line no-useless-constructor
|
||||
constructor (props) {
|
||||
super(props);
|
||||
}
|
||||
componentDidMount () {
|
||||
const script = document.createElement('script');
|
||||
script.src = `https://fast.wistia.com/embed/medias/${this.props.video}.jsonp`;
|
||||
|
||||
Reference in new issue
Block a user