From 4c715111c587e7afdffe2b016026b7721c031065 Mon Sep 17 00:00:00 2001 From: Mathias Rasmussen Date: Thu, 27 Sep 2018 01:29:11 +0200 Subject: [PATCH] fix react unique keys --- src/renderer/pages/torrent-list-page.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/renderer/pages/torrent-list-page.js b/src/renderer/pages/torrent-list-page.js index 2f816e49..828a197c 100644 --- a/src/renderer/pages/torrent-list-page.js +++ b/src/renderer/pages/torrent-list-page.js @@ -147,7 +147,7 @@ module.exports = class TorrentList extends React.Component { } } return ( -
+
) @@ -200,7 +200,7 @@ module.exports = class TorrentList extends React.Component { const minutesStr = (hours || minutes) ? minutes + 'm' : '' const secondsStr = seconds + 's' - return ({hoursStr} {minutesStr} {secondsStr} remaining) + return ({hoursStr} {minutesStr} {secondsStr} remaining) } function renderTorrentStatus () { @@ -370,16 +370,16 @@ module.exports = class TorrentList extends React.Component { return (
-
-
-
+
+
+
-
-
-
+
+
+
-
+
) }