From 5c56a86a1c20b4762e15ffd3290c883966194a9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFs=20Poujade?= <lois.poujade@tetras-libre.fr> Date: Wed, 16 Nov 2022 11:02:00 +0100 Subject: [PATCH] Correct previous merge --- babel.config.js | 19 ------------------- src/components/VideoViewer.js | 2 -- 2 files changed, 21 deletions(-) diff --git a/babel.config.js b/babel.config.js index 9ba7809f..0faffa34 100644 --- a/babel.config.js +++ b/babel.config.js @@ -52,25 +52,6 @@ module.exports = function (api) { ['@babel/plugin-proposal-private-property-in-object', { loose: true }], ['@babel/plugin-proposal-class-properties', { loose: true }], ['@babel/plugin-proposal-object-rest-spread', { useBuiltIns: true }], - ['@babel/plugin-transform-runtime', { - corejs: false, - helpers: false, // Needed to support IE/Edge - regenerator: true, - }, - [ - '@babel/plugin-proposal-class-properties', - { - loose: true, - }, - ], - ['@babel/plugin-proposal-private-property-in-object', { loose: true }], - ['@babel/plugin-proposal-private-methods', { loose: true }], - [ - '@babel/plugin-proposal-object-rest-spread', - { - useBuiltIns: true, - }, - ], [ '@babel/plugin-transform-runtime', { diff --git a/src/components/VideoViewer.js b/src/components/VideoViewer.js index a7eae5ba..6dd39e8b 100644 --- a/src/components/VideoViewer.js +++ b/src/components/VideoViewer.js @@ -183,7 +183,6 @@ export class VideoViewer extends Component { VideoViewer.propTypes = { annotations: PropTypes.arrayOf(PropTypes.object), canvas: PropTypes.object, // eslint-disable-line react/forbid-prop-types - captions: PropTypes.arrayOf(PropTypes.object), // eslint-disable-line react/forbid-prop-types classes: PropTypes.objectOf(PropTypes.string).isRequired, currentTime: PropTypes.number, muted: PropTypes.bool, @@ -193,7 +192,6 @@ VideoViewer.propTypes = { setPaused: PropTypes.func, textTrackDisabled: PropTypes.bool, videoOptions: PropTypes.object, // eslint-disable-line react/forbid-prop-types - videoResources: PropTypes.arrayOf(PropTypes.object), // eslint-disable-line react/forbid-prop-types windowId: PropTypes.string.isRequired, }; -- GitLab