From a1f5572cb78665d2ba69a1ac55816e302dede8d2 Mon Sep 17 00:00:00 2001 From: Shawn Date: Thu, 14 Mar 2019 21:01:43 -0500 Subject: [PATCH] Clean up log statements --- src/ui/component/fileViewer/internal/player.jsx | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/ui/component/fileViewer/internal/player.jsx b/src/ui/component/fileViewer/internal/player.jsx index 08c1a4fe5..f31166c63 100644 --- a/src/ui/component/fileViewer/internal/player.jsx +++ b/src/ui/component/fileViewer/internal/player.jsx @@ -256,19 +256,13 @@ class MediaPlayer extends React.PureComponent { // This is what render-media does with unplayable files const { claim, fileName, downloadPath, contentType } = this.props; - console.log('render', contentType, MediaPlayer.SANDBOX_TYPES) - if (MediaPlayer.SANDBOX_TYPES.indexOf(contentType) > -1) { - console.log('claim', claim) const outpoint = `${claim.txid}:${claim.nout}`; - console.log('fetch', `${MediaPlayer.SANDBOX_SET_BASE_URL}${outpoint}`) - return fetch(`${MediaPlayer.SANDBOX_SET_BASE_URL}${outpoint}`) .then(res => res.text()) .then(url => { const fileSource = { url: `${MediaPlayer.SANDBOX_CONTENT_BASE_URL}${url}` }; - console.log('set source', fileSource) return this.setState({ fileSource }); }); } @@ -333,8 +327,6 @@ class MediaPlayer extends React.PureComponent { const isFileType = this.isSupportedFile(); - console.log('isFileType', isFileType); - const isFileReady = fileSource && isFileType; const isPlayableType = this.playableType(); const { isLoading, loadingStatus } = this.showLoadingScreen(isFileType, isPlayableType);