diff --git a/src/routes/Player/ControlBar/ControlBar.js b/src/routes/Player/ControlBar/ControlBar.js
index 576250a6d..dfe6ad82b 100644
--- a/src/routes/Player/ControlBar/ControlBar.js
+++ b/src/routes/Player/ControlBar/ControlBar.js
@@ -9,55 +9,56 @@ const SubtitlesButton = require('./SubtitlesButton');
const ShareButton = require('./ShareButton');
const styles = require('./styles');
-const ControlBar = (props) => (
-
-
-
-);
+ );
+};
ControlBar.propTypes = {
className: PropTypes.string,
- modalContainerClassName: PropTypes.string,
paused: PropTypes.bool,
time: PropTypes.number,
duration: PropTypes.number,
@@ -67,7 +68,7 @@ ControlBar.propTypes = {
id: PropTypes.string.isRequired,
label: PropTypes.string.isRequired,
origin: PropTypes.string.isRequired
- })).isRequired,
+ })),
selectedSubtitlesTrackId: PropTypes.string,
subtitlesSize: PropTypes.number,
subtitlesDelay: PropTypes.number,
@@ -77,8 +78,4 @@ ControlBar.propTypes = {
dispatch: PropTypes.func
};
-ControlBar.defaultProps = {
- subtitlesTracks: Object.freeze([])
-};
-
module.exports = ControlBar;