лишние логи
This commit is contained in:
parent
4ddf1910cc
commit
6ec4b359db
@ -31,7 +31,6 @@ return (
|
|||||||
}
|
}
|
||||||
leftIcon={
|
leftIcon={
|
||||||
(() => {
|
(() => {
|
||||||
console.log(torrent.contentType)
|
|
||||||
switch(torrent.contentType)
|
switch(torrent.contentType)
|
||||||
{
|
{
|
||||||
case 'video':
|
case 'video':
|
||||||
|
@ -138,7 +138,6 @@ export default class TorrentPage extends Component {
|
|||||||
};
|
};
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
window.torrentSocket.emit('torrent', this.props.hash, {files: true}, (data) => {
|
window.torrentSocket.emit('torrent', this.props.hash, {files: true}, (data) => {
|
||||||
console.log(data);
|
|
||||||
this.torrent = data
|
this.torrent = data
|
||||||
this.forceUpdate();
|
this.forceUpdate();
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user