receptor/src/ui/torrent_details.js

16 lines
346 B
JavaScript
Raw Normal View History

2017-08-24 14:30:22 +02:00
import React from 'react';
2017-08-25 02:01:15 +02:00
import { connect } from 'react-redux';
2017-08-24 14:30:22 +02:00
// TODO: use component lifecycle functions here to invoke
// torrent_state.updateSubscriptions
2017-08-25 02:01:15 +02:00
function torrent_details(props) {
2017-08-24 14:30:22 +02:00
return (
<div>
<h3>Torrent details</h3>
</div>
);
}
2017-08-25 02:01:15 +02:00
export default connect(state => ({ router: state.router }))(torrent_details);