mirror of
https://github.com/zoriya/flood.git
synced 2026-06-01 10:35:59 +00:00
Insert state into strategic components rather than entire app
This commit is contained in:
@@ -109,7 +109,6 @@ export default class Torrent extends React.Component {
|
||||
|
||||
render() {
|
||||
let torrent = this.props.data;
|
||||
|
||||
let added = new Date(torrent.added * 1000);
|
||||
let addedString = (added.getMonth() + 1) + '/' + added.getDate() + '/' +
|
||||
added.getFullYear();
|
||||
|
||||
Reference in New Issue
Block a user