fix(ui) - play time null
This commit is contained in:
parent
2b5281c081
commit
b6c654f919
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ import { PlayTime } from 'App/player-ui'
|
|||
|
||||
const ReduxTime = observer(({ format, name, isCustom }) => {
|
||||
const { store } = React.useContext(PlayerContext)
|
||||
const time = store.get()[name]
|
||||
const time = store.get()[name] || 0
|
||||
|
||||
return <PlayTime format={format} time={time} isCustom={isCustom} />
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue