Skip to content
Snippets Groups Projects
Verified Commit 347dde1f authored by Loïs Poujade's avatar Loïs Poujade
Browse files

Follow 54b4fa20

parent 4bec504e
Branches
Tags
1 merge request!12Update from upstream
Pipeline #1316 passed
import React, { Component } from 'react'; import { createRef, Component } from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import isEqual from 'lodash/isEqual'; import isEqual from 'lodash/isEqual';
import debounce from 'lodash/debounce'; import debounce from 'lodash/debounce';
...@@ -64,7 +64,7 @@ export class AnnotationsOverlayVideo extends Component { ...@@ -64,7 +64,7 @@ export class AnnotationsOverlayVideo extends Component {
constructor(props) { constructor(props) {
super(props); super(props);
this.ref = React.createRef(); this.ref = createRef();
VideosReferences.set(props.windowId, this); VideosReferences.set(props.windowId, this);
this.canvasOverlay = null; this.canvasOverlay = null;
// An initial value for the updateCanvas method // An initial value for the updateCanvas method
......
import flatten from 'lodash/flatten'; import flatten from 'lodash/flatten';
import flattenDeep from 'lodash/flattenDeep'; import flattenDeep from 'lodash/flattenDeep';
import React, { Component, Fragment } from 'react'; import { createRef, Component } from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import AnnotationItem from '../lib/AnnotationItem'; import AnnotationItem from '../lib/AnnotationItem';
import AnnotationsOverlayVideo from '../containers/AnnotationsOverlayVideo'; import AnnotationsOverlayVideo from '../containers/AnnotationsOverlayVideo';
...@@ -11,7 +11,7 @@ export class VideoViewer extends Component { ...@@ -11,7 +11,7 @@ export class VideoViewer extends Component {
/** */ /** */
constructor(props) { constructor(props) {
super(props); super(props);
this.videoRef = React.createRef(); this.videoRef = createRef();
this.state = { this.state = {
start: 0, start: 0,
......
import ClosedCaption from '@material-ui/icons/ClosedCaption'; import ClosedCaption from '@material-ui/icons/ClosedCaption';
import ClosedCaptionOutlined from '@material-ui/icons/ClosedCaptionOutlined'; import ClosedCaptionOutlined from '@material-ui/icons/ClosedCaptionOutlined';
import React, { Component } from 'react'; import { Component } from 'react';
import PauseRoundedIcon from '@material-ui/icons/PauseRounded'; import PauseRoundedIcon from '@material-ui/icons/PauseRounded';
import PlayArrowRoundedIcon from '@material-ui/icons/PlayArrowRounded'; import PlayArrowRoundedIcon from '@material-ui/icons/PlayArrowRounded';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
......
import React, { Component } from 'react'; import { Component } from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import classNames from 'classnames'; import classNames from 'classnames';
import Paper from '@material-ui/core/Paper'; import Paper from '@material-ui/core/Paper';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment