fix: typo

This commit is contained in:
Sean Yesmunt 2019-09-19 13:18:35 -04:00
parent a5e371e990
commit f8ac5d0d60

View file

@ -115,7 +115,7 @@ export default function FileViewer(props: Props) {
}
const hidePlayer =
!isPlaying || !uri || (!inline && (!floatingPlayerEnabled || ['audio', 'video'].includes(mediaType)));
!isPlaying || !uri || (!inline && (!floatingPlayerEnabled || !['audio', 'video'].includes(mediaType)));
if (hidePlayer) {
return null;