Fix youTube crash on iOS providing the right prop type (#1856)
This commit is contained in:
parent
dca5e85449
commit
10cba91981
1 changed files with 1 additions and 1 deletions
|
|
@ -369,7 +369,7 @@ export default class PostBodyAdditionalContent extends PureComponent {
|
|||
|
||||
const time = link.match(timeRegex);
|
||||
if (!time || !time[0]) {
|
||||
return '';
|
||||
return 0;
|
||||
}
|
||||
|
||||
const hours = time[2] ? time[2].match(/([0-9]+)h/) : null;
|
||||
|
|
|
|||
Loading…
Reference in a new issue