mirror of
https://github.com/zoriya/flood.git
synced 2026-05-23 23:45:53 +00:00
Remove TorentListContainer component
This commit is contained in:
@@ -2,21 +2,21 @@ import React from 'react';
|
||||
|
||||
import ActionBar from '../TorrentList/ActionBar';
|
||||
import ApplicationPanel from '../Layout/ApplicationPanel';
|
||||
import TorrentListContainer from '../TorrentList/TorrentListContainer';
|
||||
import TorrentList from '../TorrentList';
|
||||
|
||||
class TorrentList extends React.Component {
|
||||
class TorrentListPanel extends React.Component {
|
||||
render() {
|
||||
return (
|
||||
<ApplicationPanel modifier="torrent-list" className="view--torrent-list">
|
||||
<ActionBar />
|
||||
<TorrentListContainer />
|
||||
<TorrentList />
|
||||
</ApplicationPanel>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
TorrentList.propTypes = {
|
||||
TorrentListPanel.propTypes = {
|
||||
children: React.PropTypes.node
|
||||
};
|
||||
|
||||
export default TorrentList;
|
||||
export default TorrentListPanel;
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
import React from 'react';
|
||||
|
||||
import TorrentList from './index';
|
||||
|
||||
export default class TorrentListContainer extends React.Component {
|
||||
render() {
|
||||
return (
|
||||
<div className="torrents">
|
||||
<TorrentList />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user