fix: audio duration
Was going to rename the component, but not important for now.
This commit is contained in:
parent
541be31148
commit
7ddd43117f
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ type Props = {
|
|||
function VideoDuration(props: Props) {
|
||||
const { claim, className } = props;
|
||||
|
||||
const video = claim && claim.value && claim.value.video;
|
||||
const video = claim && claim.value && (claim.value.video || claim.value.audio);
|
||||
let duration;
|
||||
if (video && video.duration) {
|
||||
// $FlowFixMe
|
||||
|
|
Loading…
Add table
Reference in a new issue