fix(#ott2858): comment fix

keep-around/2fd168b18eeebc91eac94ae86d817c12edfe1576
Farber Denis 3 years ago
parent ed80094edb
commit 486ce4b4f6
  1. 5
      src/features/StreamPlayer/components/Controls/index.tsx

@ -1,4 +1,3 @@
/* eslint-disable react/no-unused-prop-types */
import { Fragment, useMemo } from 'react'
import { DebouncedFunc } from 'lodash'
@ -58,7 +57,7 @@ export type ControlsPropsExtended = ControlsProps & {
progressBarElement: JSX.Element,
}
export const Controls = (props: ControlsProps) => {
export const Controls = ({ ...props }: ControlsProps) => {
const {
activeChapterIndex = 0,
allPlayedProgress = 0,
@ -73,7 +72,7 @@ export const Controls = (props: ControlsProps) => {
onTouchEnd,
onTouchStart,
playedProgress,
} = { ...props }
} = props
const playBackTime = useMemo(() => {
if (isLive || isStorage) {

Loading…
Cancel
Save